Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Win98, Apache I Problem :)
Forum PHP.pl > Forum > Serwery WWW > Apache
bela
mam problem z apachem pod winem 98
Kod
Syntax error on line 288 of /sciezka do http.conf/:
Cannot load /sciezka do php5apache2.dll/ into server: Jeden z plików bibliotek potrzebnych do uruchomienia tej aplikacji nie może zostać znaleziony


jeżeli ktoś z Was się spotkał z tym byłbym wdzięczny biggrin.gif
kicaj
Pokaz 288 linie w httpd.conf (+ 2 poprzenie i nastepne linie) smile.gif
tumczasty
cytat z install.txt z katalogu z php:
Cytat
  exclamation.gif NOTE exclamation.gif
  Whereever you load php5apache.dll from, php5apache.dll also
  needs the php5ts.dll also included in the php distribution.
  php5apache.dll depends on php5ts.dll which is loaded as soon as
  Apache loads php5apache.dll. If php5ts.dll can't be found, you
  usually get an error like (also see the "Problems?" section at
  the end of the file):

    Cannot load c:/php/php5apache.dll into server

  So where does php5ts.dll has to be to be properly loaded ?
  php5ts.dll is searched in the following order:

  1) in the directory where apache.exe is start from
  2) in the directory where php5apache.dll is loaded from
  3) in your %SYSTEMROOT%\System32, %SYSTEMROOT%\system and
     %SYSTEMROOT% directory.
     Note: %SYSTEMROOT%\System32 only applies to Windows NT/2000/XP)
  4) in your whole %PATH%

  Note: What is %SYSTEMROOT% ? Depending on your Windows
        installation this may be for example c:\winnt or C:\windows

  Usually you would just copy it over to %SYSTEMROOT%\System32.
  But if you want to have multiple php installations (for
  whatever reason) this is a bad idea. For this circumstance the
  safest thing is to let php5ts.dll reside in the same directory
  where php5apache.dll is loaded from (see point 2 above).


może o to chodzi? co prawda mowa jest o pliku php5apache.dll (czyli bez dwójki), ale to raczej bez znaczenia
warto przeczytać cały ten plik
bela
Cytat(kicaj_ @ 2004-08-18 00:12:43)
Pokaz 288 linie w httpd.conf (+ 2 poprzenie i nastepne linie) smile.gif

Kod
   AddType application/x-httpd-php .phtml .php3 .php
   AddType Application/x-httpd-php-source .phps

# --- to use php as Apache module - uncoment next line
   LoadModule php5_module "/usr/local/php/php5apache2.dll"

# --- to use php as Apache CGI module - uncoment next two lines
#   ScriptAlias "/__php_dir__/" "/usr/local/php/"
#   Action application/x-httpd-php "/__php_dir__/php.exe"


php5ts.dll jest na miejscu
php5apache2.dll też na miejscu
cim
może wpisz ścieżki bezwzględne...
FiDO
/usr/local/php/ ? To mi nie wyglada na windowsowa sciezke.. no chyba, ze sobie utworzyles takie drzewko na windowsie ?
bela
Cytat(FiDO @ 2004-08-18 20:18:10)
/usr/local/php/ ? To mi nie wyglada na windowsowa sciezke.. no chyba, ze sobie utworzyles takie drzewko na windowsie ?

Kod
@echo off

rem use: start mysql console - to start mysql at server start and display console
rem use: start mysql - to start mysql at server start
rem use: start nomysql console - to display console

diskw\home\admin\program\pskill.exe Apache.exe
IF NOT ERRORLEVEL 1 goto started
set Disk=%1
IF "%Disk%"=="" set Disk=w
rem create the disk
subst %Disk%: "diskw"
IF ERRORLEVEL 1 goto hint
set apachepath=\usr\local\apache2\
set apacheit=%Disk%:%apachepath%bin\Apache.exe -f %apachepath%conf\httpd.conf -d %apachepath%.
set programit=%Disk%:\home\admin\program\
set closeit=%programit%close.bat %Disk%

%Disk%:
cd \usr\local\php
IF "%2"=="mysql" start \usr\local\mysql\bin\mysqld-opt.exe --defaults-file=/usr/local/mysql/bin/my-small.cnf
CLS
echo The server is working on the disk %Disk%:\ [http/127.0.0.1/a/]
start %Disk%:\home\admin\WWW\redirect.html
IF "%3"=="console" goto console
start %programit%uniserv.exe "%apacheit%" "%closeit%"
goto end
:console
%apacheit%
%closeit%
goto end
:hint
CLS
echo The disk %Disk% is busy. Use start.bat [disk letter]
goto pause
:started
CLS
echo ERROR!!!
echo One of the instances of Apache server is started. Use stop.bat
:pause
echo .
pause
:end


ten patch tworzy dysk, i zawsze było wszystko oka, po formacie coś się schrzaniło
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.