Click to See Complete Forum and Search --> : Apache 2.0 + PHP 4.11 on Win2k problem


Anon
04-16-2002, 10:26 AM
On this configuration I'm able to run php as a CGI but i can't run it as a module.

In httpd.conf

LoadModule php4_module c:/php4/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml .php3 .php4

And when i run Apache.exe it says :

syntax error on line 173 of httpd.conf : cannot load c:/php4/sapi/php4apache.dll into server : le module specifie est introuvable (in english that means unable to find specified module)

I tried to copy php4apache.dll in modules/ directory and put :
LoadModule php4_module modules/php4apache.dll

in httpd.conf but it didn't work.

I repeat that using php in CGI everything works well.

Someone has an idea ?

Anon
04-16-2002, 11:02 AM
Sorry Mister,
but you load the dll for Apache 1.3.x
Support for Apache 2 is experimental.
Look at the latest PHP 4.2 RC.
in the Folder experimental you will find
a dll apache2filter.
No further comments, because i don't test it until now.

Anon
04-16-2002, 11:03 AM
Zeux,

To run PHP under Apache 2.0.35 see the following post. The only change is that the version of PHP to use is 4.2.0 RC4

http://www.phpbuilder.com/forum/read.php3?num=3&id=110337&thread=110299

Hope this helps

Ron

Anon
04-16-2002, 11:23 AM
Thanx, I'll try this right now.

Anon
04-16-2002, 11:23 AM
Thanx, i'll try this right now.

Anon
04-16-2002, 12:16 PM
Ok thanx to all of you, it works well now. Of course it is still experimental but I've seen on php.net site that a stable version will be released by the end of April.

Hope it'll work until then.