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

 ID:               52298
 User updated by:  murray at math dot umass dot edu
 Reported by:      murray at math dot umass dot edu
 Summary:          Apache service won't start with PHP enabled
-Status:           Feedback
+Status:           Open
 Type:             Bug
 Package:          Apache2 related
 Operating System: Windows XP Pro (SP3)
 PHP Version:      5.3.2

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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.



------------------------------------------------------------------------
[2010-07-09 03:56:37] murray at math dot umass dot edu

Description:
------------
Summary: as soon as I add loading PHP 5.3.2 as a module, Apache 2.2.15
service won't start. Without the load, Apache service is OK; and PHP
from command line is OK.



What I did:

(1) Installed Apache 2.2.15 in a localhost config from
httpd-2.2.15-win32-x86-no_ssl.msi (also tried the openssl version when
the former + PHP didn't work). That worked just fine.



(2) Installed PHP 5.3.2 from php-5.3.2-Win32-VC6-x86.msi (thread safe),
which php.net says to use, as I read its instructions. (It says NOT to
use the VC9 version with apache.org binaries.)



Now the apache httpd service will not start. So of course I never got so
far as to try a .php script in the browser.



Of course I put the correct entries in PATH and PHPRC. My httpd.conf was
what the apache installer set up plus my changes in appropriate spots.



I retried everything after completely uninstalling both apache http and
PHP, again using httpd-2.2.15-win32-x86-no_ssl.msi but this time
installing PHP manually from php-5.3.2-Win32-VC6-x86.zip.



File httpd.conf is what the Apache installer set up plus my edits in
appropriate spots:



  ServerName localhost:80

  DocumentRoot "E:/htdocs"

  <Directory "E:/htdocs">

  LoadModule php5_module "D:/Server/PHP/php5apache2_2.dll"

  PHPIniDir "D:/Server/PHP"

  AddType application/x-httpd-php .php

  AddType application/x-httpd-php-source .phps 



My edits to php.ini are:



  PHPIniDir "D:/Server/PHP/"

  LoadModule php5_module "D:/Server/PHP/php5apache2_2.dll"



Apache error.log contains just:



  [warn] pid file D:/Server/Apache2.2/logs/httpd.pid overwritten --
Unclean   

  shutdown of previous Apache run?



The Windows Event log, System view shows:



  The Apache2.2 service terminated with service-specific error 1 (0x
1).



And Windows Even log, Application view shows:



  Faulting application httpd.exe, version 2.2.15.0, 

  faulting module unknown, version 0.0.0.0, 

  fault address 0x0074f1a9.





Essentially the same bug has been reported in a number of user forums,
and I waited to see if anybody detected some configuration mistake, but
to no avail.



Test script:
---------------
I don't know how to do a back-trace, since I find no explanation
anywhere of what to do with the PHP debug-pack.

Expected result:
----------------
Apache 2.2.15 service starts.

Actual result:
--------------
Apache 2.2.15 service cannot start.


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



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

Reply via email to