#42000 [Opn->Fbk]: Installer creates httpd.conf entries in the wrong order
ID: 42000
Updated by: jani@php.net
Reported By: colin dot ogilvie at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: Windows XP SP2
PHP Version: 5.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
I tried the latest snapshot last night and it worked just fine.
Previous Comments:
------------------------------------------------------------------------
[2007-07-15 11:12:27] colin dot ogilvie at gmail dot com
Description:
------------
When installing PHP5.2.3 with Apache 1.3.37, it automatically creates
the required entries for me in httpd.conf.
Unfortunately, it creates them such that Apache won't start.
Expected result:
----------------
Lines will be created as follows;
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache.dll"
PHPIniDir "C:\\Program Files\\PHP\\"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Actual result:
--------------
Lines are created as follows:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\\Program Files\\PHP\\"
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Apache then fails to load due to the fact it doesn't understand
PHPIniDir.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42000&edit=1
Thread (2 messages)