Edit report at https://bugs.php.net/bug.php?id=51516&edit=1

 ID:                 51516
 Comment by:         xagic at yahoo dot com
 Reported by:        sfoulk526 at gmail dot com
 Summary:            Apache 2.2 won't start after I install PHP (Using
                     .MSI)
 Status:             Feedback
 Type:               Bug
 Package:            Apache2 related
 Operating System:   Windows 7
 PHP Version:        5.2.13
 Block user comment: N
 Private report:     N

 New Comment:

Just installed PHP 5.2.17 on Apache 2.2.x and got the same problem.
Added full paths at the end of the Apache config file, and it works.
Cheers for the help.


Previous Comments:
------------------------------------------------------------------------
[2012-10-10 10:08:03] vinod dot wagh at infrasofttech dot com

Sorry , please ignore my previous commnets , I am wrong .

------------------------------------------------------------------------
[2012-10-10 10:05:54] vinod dot wagh at infrasofttech dot com

Yeaaahhh !

Got it !

thats booldy MSI installer , messing with slashes . entry in httpd.conf should 
look like :
#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

------------------------------------------------------------------------
[2012-07-23 10:40:35] panama dot amanap at yahoo dot com dot au

Confirm using threadsafe VC6 (php-5.2.17-Win32-VC6-x86.msi)
The problem is as carl_armbruster described.
Fix your httpd.conf by fully qualifying the file paths.
Thanks for the hint.

------------------------------------------------------------------------
[2011-09-23 03:49:00] carl_armbruster at msn dot com

I had the same problem. This was in my httpd.conf file:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir ""
LoadModule php5_module "php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Although the path to PHP install was in my windows path (verified by typing 
path at the command line) it still required explicit paths:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\Program Files (x86)\PHP\"
LoadModule php5_module "C:\Program Files (x86)\PHP\php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

You can check for issues by starting at a command line to get debug info:

httpd.exe -e debug

------------------------------------------------------------------------
[2011-02-01 21:00:13] erik at zilkframe dot se

I did use the threadsafe version and still got this problem!?

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=51516


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

Reply via email to