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: Apache 2.2.3/ PHP 5.2 problem
Author
KENT



Joined: 23 Nov 2006
Posts: 2
Location: Hanoi

PostPosted: Thu 23 Nov '06 10:28    Post subject: Apache 2.2.3/ PHP 5.2 problem Reply with quote

Hi friends,
I installed Apache 2.2.3/PHP 5.2 on my OS Windows Server 2003 SP1. Everything seems fine, PHP5.2 installed and configured, apache service started.

But when I run test.php with any php code in it, even an echo syntax, the apache service terminated unexpectedly.

I have checked the Event log and got this:

Quote:

Faulting application httpd.exe, version 2.2.3.0, faulting module unknown, version 0.0.0.0, fault address 0x01df2dc0.


// httpd.conf

Quote:
# For PHP 5 do something like this:
LoadModule php5_module "C:/Program Files/Apache Software Foundation/Apache2.2/PHP/php5apache2_2_filter.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:\Program Files\Apache Software Foundation\Apache2.2\PHP"


Even
Quote:

LoadModule php5_module "C:/Program Files/Apache Software Foundation/Apache2.2/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:\Program Files\Apache Software Foundation\Apache2.2\PHP"


Any suggestions ? Thank you in advance
Back to top
KENT



Joined: 23 Nov 2006
Posts: 2
Location: Hanoi

PostPosted: Thu 23 Nov '06 10:51    Post subject: Reply with quote

Hi,
I have found a way to fix:
Here: http://www.apachelounge.com/viewtopic.php?p=4785
Back to top


Reply to topic   Topic: Apache 2.2.3/ PHP 5.2 problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache