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

Reply via email to