#40920 [Asn->WFx]: PHP Installation configuring Apache badly
| From: | jmertic@php.net | Date: | Fri, 30 Mar 2007 01:54:15 +0000 |
| Subject: | #40920 [Asn->WFx]: PHP Installation configuring Apache badly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110950@lists.php.net to get a copy of this message | ||
ID: 40920
Updated by: jmertic@php.net
Reported By: MishaSoft3D at gmail dot com
-Status: Assigned
+Status: Wont fix
Bug Type: *Configuration Issues
Operating System: WINDOWS
PHP Version: 5.2.1
Assigned To: jmertic
New Comment:
This is a known issue; due to the many ways PHP can be configured in
the httpd.conf file, we do not attempt to remove or replace current
configuration, but instead add what is needed for PHP to work assuming
there is no PHP currently configured in the file.
Previous Comments:
------------------------------------------------------------------------
[2007-03-26 12:21:00] MishaSoft3D at gmail dot com
Description:
------------
Installing PHP and choosing the option to configure "Apache 2.2.x"
server for me adds an unneseccery block of code in the httpd.conf of the
Apache. The block already exsits and comes by default in the httpd.conf
of the Apache.
Therfore this code appears twice in the end of httpd.conf:
*--BEGIN QUOTE--*
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\\Program Files\\PHP\\"
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
*--END QUOTE--*
Apache won't start because of that. (and again this replicated block
was added by the PHP installation)
My solution was to erase one of the blocks and everything came normal.
os: WINDOWS XP
server: Apache 2.2.4
installer in question: PHP 5.2.1 installer [19,568Kb] - 12 Feb 2007
best regards
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40920&edit=1