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