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 -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2.3 and PHP 5.2.0 errors! HELP!
Author
ytsohptwhere



Joined: 20 Jan 2007
Posts: 5

PostPosted: Sat 20 Jan '07 1:02    Post subject: Apache 2.2.3 and PHP 5.2.0 errors! HELP! Reply with quote

I have installed Apache 2.2.3 and PHP 5.2.0 on XP pro. im getting the following error message.

The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/php/php5apache2_2.dll into server: The specified module could not be found.

and in my httpd.conf the module is as follows.

LoadModule php5_module "C:/program files/php/php5apache.dll"

PHPIniDir "C:/windows"

any suggestions?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3058
Location: Hilversum, NL, EU

PostPosted: Sat 20 Jan '07 14:29    Post subject: Reply with quote

Please search this Forum, there are a lot of topics about your issue.
Come back here if you have still issues.

Steffen
Back to top
ytsohptwhere



Joined: 20 Jan 2007
Posts: 5

PostPosted: Tue 23 Jan '07 7:26    Post subject: Reply with quote

i have been looking and still havent found anything. Its still fubared Sad
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Tue 23 Jan '07 10:33    Post subject: Reply with quote

if you posted correct from your httpd.conf

LoadModule php5_module "C:/program files/php/php5apache.dll"

must be

LoadModule php5_module "C:/program files/php/php5apache2_2.dll"
Back to top
ytsohptwhere



Joined: 20 Jan 2007
Posts: 5

PostPosted: Thu 25 Jan '07 22:15    Post subject: Reply with quote

If i put 2_2 for my moduel it still crashes. This is really starting to frustrait me... All i want is GD to work Mad Mad Mad Mad
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Fri 26 Jan '07 10:12    Post subject: Reply with quote

if you disable all extensions in php.ini, is it running than?
Back to top
ytsohptwhere



Joined: 20 Jan 2007
Posts: 5

PostPosted: Fri 26 Jan '07 11:19    Post subject: Reply with quote

if i disable all extenions in PHP.ini the server works fine. The other pages that are not PHP load and work fine, the server then crashes when i visit one of my PHP pages. Is my PHP install hosed? I have installed it and reinstalled it serveal time and still no luck.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Fri 26 Jan '07 11:59    Post subject: Reply with quote

With the disables extension in php.ini run a simple script

Code:

<?php
phpinfo();
?>


Does that work? IF yes, enable only GD extension in php.ini and try again.
Back to top
YUMYUM



Joined: 07 Apr 2006
Posts: 1

PostPosted: Fri 02 Feb '07 11:15    Post subject: Reply with quote

i use this it work for apache2.2.4 & php 5.2.0 not crash!


http://files-upload.com/files/86931/php5apache2.2.x.dll.html
Back to top
ytsohptwhere



Joined: 20 Jan 2007
Posts: 5

PostPosted: Sat 03 Feb '07 0:39    Post subject: Reply with quote

@James Blond, using the simple PHP script crashes the server. If I turn off GD it still crashes. If i have no moduels turned on it still crashes anytime i goto one of my PHP pages.

@YUMYUM do you have a dll for 2.2.3?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Sat 03 Feb '07 15:32    Post subject: Reply with quote

Please see our great setup

http://www.apachelounge.com/viewtopic.php?t=570
Back to top


Reply to topic   Topic: Apache 2.2.3 and PHP 5.2.0 errors! HELP! View previous topic :: View next topic
Post new topic   Forum Index -> Other Software