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

From: Date: Tue, 06 Aug 2002 06:32:47 +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-16059@lists.php.net to get a copy of this message
ID: 18129 Comment by: db@webgate.net Reported By: erik@antwerpes.de Status: Open Bug Type: Documentation problem Operating System: Win32 PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-07-13 22:31:56] philip@php.net jhansch1, this bug report already has two bugs to deal with, they are: a) index.txt lacks apache2 docs (confirmed)b) A possible broken php4apache.dll (doubtful, try latest) Please don't bring other issues into this bug report and ask support questions to php.net/support ------------------------------------------------------------------------ [2002-07-13 22:19:52] jhansch1@elp.rr.com I'm having problems with Apache 2.0.39 and PHP 4.2.1. I downloaded the new php4apache2.dll and put it in the sapi folder, and added the lines: #### START PHP LoadModule php4_module "C:\Program Files\Apache Group\PHP\sapi\php4apache2.dll" AddType application/x-httpd-php .php .phtml .php3 #### END PHP into my httpd.conf. The path to the file is correct, but whenever I try to start it, I get an error. When I run the test-configuration link in the apache program group, it says it "cannot find the module" but the file is there :\ Anyone have any other ideas? ------------------------------------------------------------------------ [2002-07-13 01:05:40] philip@php.net install.txt should mention something about apache2 (currently it's not afaict), like how about: (a) php4apache.dll is for apache1.x.x not apache2 (b) php4apache2.dll is for apache2 but (c) apache2 support is experimental in PHP Also, is this report saying that the distributed apache2 dll is broken? Please verify. * http://cvs.php.net/cvs.php/php4/win32/install.txt ------------------------------------------------------------------------ [2002-07-12 22:50:55] cesar@bjs.com.ar Thanks for http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip Work fine!!! ------------------------------------------------------------------------ [2002-07-10 09:22:25] christophe@ponsen.be To use PHP 4.2.1 under Apache 2 instalaltion, don't forget to download the new DLL related here because the one in the installation pack is not right. http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip Go and Get it or PHP will never go on. ------------------------------------------------------------------------ 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 (#16059) next »