Edit report at https://bugs.php.net/bug.php?id=51516&edit=1
ID: 51516
Updated by: php-bugs@lists.php.net
Reported by: sfoulk526 at gmail dot com
Summary: Apache 2.2 won't start after I install PHP (Using
.MSI)
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Apache2 related
Operating System: Windows 7
PHP Version: 5.2.13
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2012-10-29 06:38:07] xagic at yahoo dot com
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.
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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