Cannot load module....

Alles, was den Apache betrifft, kann hier besprochen werden.

Cannot load module....

Postby subnoodle » 14. March 2005 19:30

Hallo,

ich habe einen totl ärgerlichen Fehler, den ich überhaupt nicht verstehe;
Meldung:
Code: Select all
C:\Programme\Apache Group\Apache2\bin>apache
Syntax error on line 176 of C:/Programme/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/Programme/php/sapi/php4apache.dll into server: Das angegebene Mod
ul wurde nicht gefunden.

Auszug aus HTTP-Conf:
Code: Select all
# For PHP 4
# LoadModule php4_module "C:/php/sapi/php4apache2.dll"
LoadModule php4_module C:/Programme/php/sapi/php4apache.dll
#LoadModule php4_module modules/php4apache2.dll


# specify the directory where php.ini is
# SetEnv PHPRC C:/Programme/php
# configure the path to php.ini
#PHPIniDir "C:/Programme/php"
SetEnv PHPIniDir "C:/php"

# AddModule for PHP
AddModule mod_php4.c


Was ich nicht verstehe:
in dem Pfad C:/Programme/php/sapi/ ist die Datei php4apache.dll einfach bloß da; fehlt also nicht und tortzdem krieg' ich diesen Bug nicht weg.

Bin schon voll am verzweifeln. Sieht jemand den Fehler?

Danke!
Sam
subnoodle
 
Posts: 2
Joined: 14. March 2005 19:21

Postby Wiedmann » 14. March 2005 19:56

Bei einer eigenen Installation sollte man sich an das PHP-Manual halten...

Das Problem dürfte nicht die "php4apache.dll" selbst sein, sondern das die "php4apache.dll" von ihr benötigte DLL's nicht findet (z.B. die "php4ts.dll").
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

php4ts.dll

Postby subnoodle » 15. March 2005 08:47

Hallo Herr Wiedmann,

ich habe die php4ts.dll nun im system32-Folder und in ...\php\sapi-Folder gehabt - erfolglos.
PATH-Variable ist wohl nicht maßgeblich; habe ich aber auch ausprobiert.

Werde jetzt noch apache\bin testen, usw.

Ausser es gibt noch einen Tipp dazu.

Danke!
Grüße
Sam
subnoodle
 
Posts: 2
Joined: 14. March 2005 19:21


Return to Apache

Who is online

Users browsing this forum: No registered users and 22 guests