#39800 [Asn->Bgs]: Windows installer does not remove PHP hooks in httpd.conf
| From: | jmertic@php.net | Date: | Tue, 12 Dec 2006 16:28:59 +0000 |
| Subject: | #39800 [Asn->Bgs]: Windows installer does not remove PHP hooks in httpd.conf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106260@lists.php.net to get a copy of this message | ||
ID: 39800
Updated by: jmertic@php.net
Reported By: php at ahlenstorf dot ch
-Status: Assigned
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows XP SP2
PHP Version: 5.2.0
Assigned To: jmertic
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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