logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Enabling "LoadModule php5_module" crashes apache2
Author
romanchr



Joined: 09 Oct 2010
Posts: 3
Location: Sthlm

PostPosted: Sat 09 Oct '10 16:37    Post subject: Enabling "LoadModule php5_module" crashes apache2 Reply with quote

First, the facts:

Windows XP SP3
Apache HTTP Server 2.2.16.0
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?

Any help is appreciated!
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sat 09 Oct '10 20:04    Post subject: Reply with quote

Where did Apache come from?
Which php, VC6 or VC9?
Back to top
romanchr



Joined: 09 Oct 2010
Posts: 3
Location: Sthlm

PostPosted: Sat 09 Oct '10 23:31    Post subject: Reply with quote

I got apache from the apache.org homepage. I had chosen the msi installer.
And I've downloaded the VC6 version, since that one should be used with apache. The only thing I am not sure of is whether or not I had chosen the thread save version. I think I haven't.
Back to top
romanchr



Joined: 09 Oct 2010
Posts: 3
Location: Sthlm

PostPosted: Sun 10 Oct '10 10:39    Post subject: Reply with quote

The problem solved itself with restarting the computer. I should have known better... Thanks for your help.
Back to top
Gew



Joined: 25 Oct 2010
Posts: 1

PostPosted: Mon 25 Oct '10 20:07    Post subject: Reply with quote

Thanks romanchr, that really helped me! Very Happy
Back to top


Reply to topic   Topic: Enabling "LoadModule php5_module" crashes apache2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache