ID:               43435
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rgeletasf-php at yahoo dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Apache2 related
 Operating System: Windows XP Pro
 PHP Version:      5.2.5
-Assigned To:      
+Assigned To:      jmertic
 New Comment:

Installer shouldn't add incompatible modules in httpd.conf either.
Only one LoadModule line is needed, in this case the first one in
expected result.


Previous Comments:
------------------------------------------------------------------------

[2007-11-28 08:23:03] rgeletasf-php at yahoo dot com

Also, when installing, I selected install everything.

------------------------------------------------------------------------

[2007-11-28 07:46:02] rgeletasf-php at yahoo dot com

As I recall, when installing PHP there was a page asking what webserver
I was running, selection was for IIS.  I changed that to Apache2

------------------------------------------------------------------------

[2007-11-28 07:38:06] rgeletasf-php at yahoo dot com

Description:
------------
Environment:
WinXP Pro SP2, Recent updates applied.  No prior installation of PHP. 


New installation of Apache from
apache_2.2.4-win32-x86-openssl-0.9.8d.msi
Apache working, web pages being served

Install PHP from php-5.2.5-win32-installer.msi

Attempted to restart Apache, restart failed.

Ran compare of httpd.conf and httpd.conf.bak(generated by PHP install),
only changes were PHP configuration lines at end of file.

revised httpd.conf to comment out occurrances 2 and 3 of line
PHPIniDir "C:/Program Files/PHP/"
and apache was able to start and serve web pages.
(doesn't do php pages yet, will report on that separately)

Reproduce code:
---------------
(not applicable)

Expected result:
----------------
(apache httpd.conf, end of file, lines added by PHP installation)
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ "C:/Program Files/PHP/"
Action application/x-httpd-php "C:/Program Files/PHP/php-cgi.exe"
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll"
LoadModule php5_module "C:/Program Files/PHP/php5apache.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALLce

Actual result:
--------------
(apache httpd.conf, end of file, lines added by PHP installation)
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ "C:/Program Files/PHP/"
Action application/x-httpd-php "C:/Program Files/PHP/php-cgi.exe"
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll"
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43435&edit=1

Reply via email to