From:             php at ahlenstorf dot ch
Operating system: Windows XP SP2
PHP version:      5.2.0
PHP Bug Type:     *Configuration Issues
Bug description:  Windows installer does not remove PHP hooks in httpd.conf

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 bug report at http://bugs.php.net/?id=39800&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39800&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39800&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39800&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39800&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39800&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39800&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39800&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39800&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39800&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39800&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39800&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39800&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39800&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39800&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39800&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39800&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39800&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39800&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39800&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39800&r=mysqlcfg

Reply via email to