From:             colin dot ogilvie at gmail dot com
Operating system: Windows XP SP2
PHP version:      5.2.3
PHP Bug Type:     Apache related
Bug description:  Installer creates httpd.conf entries in the wrong order

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 bug report at http://bugs.php.net/?id=42000&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42000&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42000&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42000&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42000&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42000&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42000&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42000&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42000&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42000&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42000&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42000&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42000&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42000&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42000&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42000&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42000&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42000&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42000&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42000&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42000&r=mysqlcfg

Reply via email to