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

 ID:                 51516
 Comment by:         carl_armbruster at msn 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:

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


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

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

------------------------------------------------------------------------
[2010-08-18 22:37:53] levyianboss at gmail dot com

I have a fix.

I manage to check the error logs and i found that the new apache runs a thread. 
This means that you have to use the threadsafe version of php for it to work.

------------------------------
Just delete the current installation then go to php.net and download the 
threadsafe version. Make sure to make a back up of you ini file unless you want 
to start from scratch. Unzip the fresh copy and replace the ini file into the 
new directory. Everything should be good.

Hope this helps :)

------------------------------------------------------------------------
[2010-05-04 09:31:29] paj...@php.net

@sensui at sohu dot com

Are you sure that libmysql.dll is first in your PATH? The libmysql.dll we 
provide with our releases, which is in the PHP installation dir.

------------------------------------------------------------------------
[2010-05-04 04:59:53] sensui at sohu dot com

To paj...@php.net
In my case, when i installed php just with mysql entension, apache will be 
unable to start.

------------------------------------------------------------------------
[2010-04-30 23:23:31] paj...@php.net

Please check your error log.

Also disable the extensions in php.ini to figure out which could cause problems.

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


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