Page 1 of 1

LoadModule not flying

Posted: Tue Aug 22, 2006 11:18 pm
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?!

Posted: Wed Aug 23, 2006 12:25 am
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.

Posted: Wed Aug 23, 2006 3:30 am
by volka
Not sure but I think php5apache2.dll is only suitable for apache 2.0, not 2.2

Posted: Wed Aug 23, 2006 8:58 am
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.

Posted: Wed Aug 23, 2006 9:13 am
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.

Posted: Wed Aug 23, 2006 10:33 am
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.

Posted: Wed Aug 23, 2006 10:34 am
by feyd
2.2 branch uses a different system than 2.0 branch.

Posted: Wed Aug 23, 2006 11:42 am
by volka
xampp uses apache 2.2 ...if you want to try ;)
http://www.apachefriends.org/en/xampp-windows.html