Bug #18129: Installation PHP 4.2.X with Apache 2.0.x

From: Date: Wed, 03 Jul 2002 08:55:30 +0000
Subject: Bug #18129: Installation PHP 4.2.X with Apache 2.0.x
Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-12946@lists.php.net to get a copy of this message
From: erik@antwerpes.de Operating system: ALL Systems PHP version: 4.2.1 PHP Bug Type: Documentation problem Bug description: Installation PHP 4.2.X with Apache 2.0.x Hi guys, the documentation (install.txt) for php to work with apache 2 is not so good and so it took a lot of time for me to make it works. I want to use php as sapi module in apache 2. So I took the three line from the documentation: LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php modified the path-statements and change the module name to new php4apache2.dll. I restarted apache an I got only errors. I tried also a new one of the module which I got from http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip but the result was the same. Always errors. After a lot of hours of searching and trying, I changed the three lines and used only the next two ones: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php And everything was fine and it's still working. I took so much time!!! There a so many questions in the newsgroups so please make a hint in the next version of the documentation how to use the module with apache2. Regards Erik -- Edit bug report at http://bugs.php.net/?id=18129&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18129&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18129&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18129&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18129&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18129&r=support Expected behavior: http://bugs.php.net/fix.php?id=18129&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18129&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18129&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18129&r=globals

« previous php.bugs (#12946) next »