From: rgeletasf-php at yahoo dot com Operating system: Windows XP Pro PHP version: 5.2.5 PHP Bug Type: Apache2 related Bug description: Installer puts duplicate lines in httpd.conf
Description: ------------ Environment: WinXP Pro SP2, Recent updates applied. No prior installation of PHP. New installation of Apache from apache_2.2.4-win32-x86-openssl-0.9.8d.msi Apache working, web pages being served Install PHP from php-5.2.5-win32-installer.msi Attempted to restart Apache, restart failed. Ran compare of httpd.conf and httpd.conf.bak(generated by PHP install), only changes were PHP configuration lines at end of file. revised httpd.conf to comment out occurrances 2 and 3 of line PHPIniDir "C:/Program Files/PHP/" and apache was able to start and serve web pages. (doesn't do php pages yet, will report on that separately) Reproduce code: --------------- (not applicable) Expected result: ---------------- (apache httpd.conf, end of file, lines added by PHP installation) #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL ScriptAlias /php/ "C:/Program Files/PHP/" Action application/x-httpd-php "C:/Program Files/PHP/php-cgi.exe" PHPIniDir "C:/Program Files/PHP/" LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll" LoadModule php5_module "C:/Program Files/PHP/php5apache.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALLce Actual result: -------------- (apache httpd.conf, end of file, lines added by PHP installation) #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL ScriptAlias /php/ "C:/Program Files/PHP/" Action application/x-httpd-php "C:/Program Files/PHP/php-cgi.exe" PHPIniDir "C:/Program Files/PHP/" LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" PHPIniDir "C:/Program Files/PHP/" LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll" PHPIniDir "C:/Program Files/PHP/" LoadModule php5_module "C:/Program Files/PHP/php5apache.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL -- Edit bug report at http://bugs.php.net/?id=43435&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43435&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43435&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43435&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43435&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43435&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43435&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43435&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43435&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43435&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43435&r=support Expected behavior: http://bugs.php.net/fix.php?id=43435&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43435&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43435&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43435&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43435&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43435&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43435&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43435&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43435&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43435&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43435&r=mysqlcfg