ID: 39800 Updated by: [EMAIL PROTECTED] Reported By: php at ahlenstorf dot ch -Status: Bogus +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows XP SP2 PHP Version: 5.2.0 Assigned To: jmertic New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-12-12 16:28:59] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php ------------------------------------------------------------------------ [2006-12-11 16:10:44] php at ahlenstorf dot ch I forgot to mention: If you leave the PHP hooks in the httpd.conf and you reinstall PHP, you end up having a second block with PHP hooks. ------------------------------------------------------------------------ [2006-12-11 16:07:24] php at ahlenstorf dot ch Description: ------------ The Windows Installer of PHP 5.2 does not remove the PHP hooks in the httpd.conf of Apache 2.2.3 when uninstalling PHP 5.2.0. So it's impossible to restart Apache 2.2.3 if you don't remove the hooks manually. BTW: It seems that \n instead of \r\n is used as line ending in the configuration snippet inserted by the installer. Maybe that should be changed to make the average windows editors happy... Reproduce code: --------------- Simply install and uninstall PHP 5.2.0 with the Windows Installer to verify the problem. Expected result: ---------------- httpd.conf without PHP hooks. Actual result: -------------- #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:\Programme\PHP\" LoadModule php5_module "C:\Programme\PHP\php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39800&edit=1