php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53030 Enabling "LoadModule php5_module" crashes apache2
Submitted: 2010-10-09 16:31 UTC Modified: 2013-02-18 00:34 UTC
Votes:5
Avg. Score:4.2 ± 1.0
Reproduced:4 of 5 (80.0%)
Same Version:2 (50.0%)
Same OS:0 (0.0%)
From: privateer at bluewin dot ch Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.3.3 OS: Windows XP SP3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: privateer at bluewin dot ch
New email:
PHP Version: OS:

 

 [2010-10-09 16:31 UTC] privateer at bluewin dot ch
Description:
------------
First, the facts: 

Windows XP SP3
Apache HTTP Server 2.2 
PHP 5.3.3 (MSI installer) 

The problem: when I try to start apache with PHP enabled, apache crashes and throws this windows error: 

szAppName : httpd.exe 
szAppVer : 2.2.16.0 
szModName : php5ts.dll 
szModVer : 5.3.3.0 
offset : 000e74ec     


I have made the following changes to Apache http.conf: 

Added LoadModule php5_module "C:/Programme/PHP/php5apache2_2.dll" 
Added PHPIniDir "C:/Programme/PHP" 

I have made the following changes to php.ini: 

short_open_tag = On
error_reporting = E_ALL | E_STRICT
display_errors = On

I also made sure to add C:/Programme/PHP to windows PATH[/i].

When I comment LoadModule ... and PHPIniDir ... in the httpd.conf, apache starts without any problems.
What is wrong?  


Expected result:
----------------
The apache server starts up

Actual result:
--------------
The apache server crashes and Windows reports the following:
szAppName : httpd.exe 
szAppVer : 2.2.16.0 
szModName : php5ts.dll 
szModVer : 5.3.3.0 
offset : 000e74ec   

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-09 18:46 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2010-10-09 18:46 UTC] kalle@php.net
Does it also fail if the paths are using backslashes instead of forwardslashes? E.g.: C:\Programme\PHP\...
 [2010-10-10 10:41 UTC] privateer at bluewin dot ch
The problem solved itself with a restart of the computer. I should have known better...

Thanks for your help!
 [2010-10-10 10:42 UTC] privateer at bluewin dot ch
Please close the bug.
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 01:01:28 2024 UTC