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

 ID:                 52298
 Comment by:         brianjameson1003 at gmail dot com
 Reported by:        murray at math dot umass dot edu
 Summary:            Apache service won't start with PHP enabled
 Status:             Bogus
 Type:               Bug
 Package:            Apache2 related
 Operating System:   Windows XP Pro (SP3)
 PHP Version:        5.3.2
 Block user comment: N
 Private report:     N

 New Comment:

If this is a Windows 7 issue, I found a fix after much banging my head into the 
desk!



The person who said this was close, but it didn't work for me:



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

I figured it out by reading some other posts.  It may be Windows 7 only thing.  
I 

had to manually edit the httpd.conf file under Apache to point PHPIniDir to the 

PHP location.  It seems to be working fine on another 2003 server without 
having 

to do this manually. 



PHPIniDir "C:/Program Files/PHP/"



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



Here is what did work:

1. Comment out the PHPIniDir line in the httpd.conf file.

2. Include the full path in the LoadModule line. In my case, I am using 
Apache2.2 and my PHP directory is C:\PHP so my entry looked like this:



LoadModule php5_module "C:/php/php5apache2_2.dll"



Once I did that, Apache fired up with no problem and if you open the Apache 
Monitor, you can confirm that PHP is running. At the bottom it says: 
Apache/2.2.19(Win32)PHP/5.2.17





Hope that helps many of you out!


Previous Comments:
------------------------------------------------------------------------
[2011-02-24 19:58:57] cyue at datalogics dot com

I figured it out by reading some other posts.  It may be Windows 7 only thing.  
I 

had to manually edit the httpd.conf file under Apache to point PHPIniDir to the 

PHP location.  It seems to be working fine on another 2003 server without 
having 

to do this manually. 



PHPIniDir "C:/Program Files/PHP/"

------------------------------------------------------------------------
[2011-02-24 18:22:12] cyue at datalogics dot com

I am having the same problem. I installed Apache 2.2 and PHP 5.3.5 VC6 threaded 

version, Windows 7 64-bit system.  The Apache service can start without PHP 

installed, but after the PHP is installed, I am getting the error that the 

php5apache2_2.dll is not found error.  Even though it is inside the PHP folder.



Any suggestions?

------------------------------------------------------------------------
[2010-07-21 22:51:22] m...@php.net

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------
[2010-07-09 18:00:52] murray at math dot umass dot edu

Source of conflict found: additional copies of php_*.dll files in a separate 
Marvell MRU subdirectory of C:\Program files (from a monitor of Marvell RAID 
controller) which uses an embedded apache server. I uninstalled the Marvell MRU 
program. Now I can start Apache 2.2.15 service with apache loaded, as usual, as 
a PHP module with PHP 5.3.2.  Even after removing my whole PHP tree obtained 
from the .zip and instead using the VC6 x86 Thread Safe.msi installer.

------------------------------------------------------------------------
[2010-07-09 09:21:36] paj...@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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


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

    http://bugs.php.net/bug.php?id=52298


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

Reply via email to