#18129 [Com]: Installation PHP 4.2.X with Apache 2.0.x

From: Date: Sat, 24 Aug 2002 19:38:17 +0000
Subject: #18129 [Com]: Installation PHP 4.2.X with Apache 2.0.x
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-17772@lists.php.net to get a copy of this message
ID: 18129 Comment by: chris.capel@free.fr Reported By: erik@antwerpes.de Status: Open Bug Type: Documentation problem Operating System: Win32 PHP Version: 4.2.1 New Comment: Ooops...sorry for the 2 last e-mails... Well I'm using WinXp, apache 2.40 and the php 4.2.2 and after changing the httpd.conf file with the three lines from the php install.txt, I couldn't restart apache. So i put only 2 lines like erik and change the php4apache2.dll with the 2 links given by christophe and db, but apache is still not restarting!!! Please can you help me???? Previous Comments: ------------------------------------------------------------------------ [2002-08-24 15:33:07] chris.capel@free.fr Hi guys, ------------------------------------------------------------------------ [2002-08-24 15:33:06] chris.capel@free.fr Hi guys, ------------------------------------------------------------------------ [2002-08-10 12:22:22] cionci@tin.it PHP 4.2.2 works fine on Apache 2.0.39 as sapi module, but doesn't work on recently released 2.0.40. "H:\Programmi\Apache Group\Apache2\bin\Apache.exe" -w -t -f "H:\Programmi\Apache Group\Apache2\conf\httpd.conf" -d "H:\Programmi\Apache Group\Apache2\." Syntax error on line 134 of H:/Programmi/Apache Group/Apache2/conf/httpd.conf:Cannot load H:/php/sapi/php4apache2.dll into server: Impossibile trovare il modulo specificato. "Impossibile trovare il modulo specificato." in English means "Cannot find specified module"... Do you have some suggestion ? Thanks ------------------------------------------------------------------------ [2002-08-06 09:17:59] edink@php.net The .dll problem part of this bug is solved in 4.2.2 release. ------------------------------------------------------------------------ [2002-08-06 02:32:46] db@webgate.net To clarify. Yes, the supplied module (dll) php4apache2.dll does not work properly. I cannot say as to what the issue is with is, other than it does not load properly or at all. This is what I did for it to work. You can download and check the modified DLL file (not mine) and see how it was fixed/modified. ------------------------ Link: http://freemirc.com/miki/php4apache2.dll Download and replace it, with the existing one in your "x:\php\sapi" AFTER THAT change/add these lines to htppd.conf LoadModule php4_module x:\php\sapi\php4apache2.dll AddType application/x-httpd-php .php .php3 .php4 .phtml ------------------------ Worked for me and for good measure I did the same steps on another Win 2k server and had the same results. Without the modified DLL file, it wouldn't work. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18129 -- Edit this bug report at http://bugs.php.net/?id=18129&edit=1

« previous php.bugs (#17772) next »