LoadModule not flying

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Olwe
Forum Newbie
Posts: 6
Joined: Tue Aug 22, 2006 11:08 pm

LoadModule not flying

Post by Olwe »

Hello,

I'm trying to use php5.1.5 on WinXP and have gotten Apache2.2forWin32 installed and "It Works" going. Now when I add the

LoadModule php5_module C:/php/php5apache2.dll

statement to the httpd.conf file and restart Apache, it bombs. Comment it out, Apache starts just fine. Yes, I've got a C:/php directory, and yes, there is a php5apache2.dll in it. What gives?!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

My httpd.conf load modules like this...

Code: Select all

LoadModule module_name modules/module.so
Even on Windows. In fact, I can't find the loadModule directive for php5 in my httpd.conf.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Not sure but I think php5apache2.dll is only suitable for apache 2.0, not 2.2
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

volka wrote:Not sure but I think php5apache2.dll is only suitable for apache 2.0, not 2.2
you are correct, that I remember.
Olwe
Forum Newbie
Posts: 6
Joined: Tue Aug 22, 2006 11:08 pm

Post by Olwe »

There's nothing in the modules/xxxx.so that looks remotely like it has anything to do with php. Will try to uninstall Apache2.2 and try an older version...but that seems, well, "hirnlos" as they say in Berlin.
Olwe
Forum Newbie
Posts: 6
Joined: Tue Aug 22, 2006 11:08 pm

Post by Olwe »

Yep, uninstalling Apache2.2.3 and installing Apache2.0.5x did the trick. Odd that such a common thing as Apache and PHP would have such a problem, even on Windows.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

2.2 branch uses a different system than 2.0 branch.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

xampp uses apache 2.2 ...if you want to try ;)
http://www.apachefriends.org/en/xampp-windows.html
Post Reply