Switch PHP5 to PHP4, apache wont restart
Posted by: kap (---.hinxx3.adsl-dhcp.tele.dk)
Date: February 23, 2007 09:05AM

Apache wont restart after switching to php4, switching back to php5 no problems. I get thes error when trying to start apache man

syntax error on line 115 of http.conf
cannot load module c:/wamp/php4/sapi/php4apache2.dll

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: yfastud (---.cable.mindspring.com)
Date: February 25, 2007 06:43AM

Search this forum for OLD_PASSWORD

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[joomla.jlbn.com] (testing Joomla 1.0.10)
[fusion.jlbn.com] (testing phpFusion 6.01.6)
[nuke.jlbn.com] (testing phpNuke 7.9)
[nukep.jlbn.com] (testing phpNuke Platinum 7.6.b.4v2)
[pnuke.jlbn.com] (testing PostNuke 0.800-MS2)
[nukevo.jlbn.com] (testing phpNuke Evolution 2.0.1)
[wp.jlbn.com] (testing WordPress 2.1)
[ws.jlbn.com] (testing WebSpell 4.01.02)

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: datamodeler (---.154.21.167.Dial1.Atlanta1.Level3.net)
Date: February 25, 2007 02:30PM

I have the same problem.

Am beginning to think this release was premature.

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: kap (---.hinxx3.adsl-dhcp.tele.dk)
Date: February 25, 2007 07:18PM

no change, still the same problem.
mysql serveren starts, but apache dont!

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: Fatih (193.140.168.---)
Date: February 26, 2007 05:19PM

that is right that you get that error message. after you install php5 and try to start apache , the apache fonfig file looks for the file php4apache2.dll while the file your apache server is looking for has been removed and the other file called php5apache2.dll or php5apache2_2.dll is installed. since it cant find it ,it generate an error message similar to the one you got. to solve this problem, you might make changes to your httpd.conf(by deffault c:/wamp/apache(2)/conf/httpd.conf ) . i am gonna tell you where to change whenever you want to go back to php4 .open httpd.conf , search for
LoadModule php5_module . and change the patch file name according to your php version file name .probably ,the pach way in php4 is look like this.
LoadModule php5_module C:/wamp/php/php5apache2.dll
and you make the change to go back to php4, the change must be something like this
LoadModule php4_module C:/wamp/php/php4apache2.dll

make all the changes respectivly and letme know if you have further problems .



goodluck

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: cesar.ibiza (---.prod-infinitum.com.mx)
Date: March 01, 2007 06:29PM

I have the same problem, and the wamp doesnt work with php 4, the path file name is correct when you install the php 4 addon:

LoadModule php4_module "c:/wamp/php4/sapi/php4apache.dll"

the problem must to be in other thing. please repair this because you have a very good tool in all the rest, but i think loots of programers still work with php 4.

many thanks!

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: kap (---.hinxx3.adsl-dhcp.tele.dk)
Date: March 03, 2007 05:48PM

The pathe for the LoadMoudule php4_module "c:/wamp/php4/sapi/php4apache.dll"
is correct and the httpd.conf is also correct, for the php5 and php4. So thats NOT the problem.

So same problem mysql serveren starts, but apache dont!

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: cesar.ibiza (---.prod-infinitum.com.mx)
Date: March 05, 2007 07:04PM

can anybody repair this problem???!!kap wrote:

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: kap (213.42.21.---)
Date: March 11, 2007 12:26PM

anyone.....................?

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: CyberSpatium (71.237.217.---)
Date: March 13, 2007 08:57PM

no, the correct path is NOT:
c:/wamp/php4/sapi/php4apache.dll

it is
c:/wamp/php4/sapi/php4apache2.dll




CyberSpatium
----------------------
WAMP English Forum Admin

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: kap (---.hinxx3.adsl-dhcp.tele.dk)
Date: March 15, 2007 06:13AM

Well that was just a typing error her in the forum, it is like you point out: c:/wamp/php4/sapi/php4apache2.dll

Again i have not change anything after installing.

Same problem!

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: Luciano (---.86.206.189.adsl.gvt.net.br)
Date: March 15, 2007 11:47PM

Same issue here.

Apache does not start.

I did a new istallation, but not works.

Options: ReplyQuote
Re: Switch PHP5 to PHP4, apache wont restart
Posted by: trevanian (---.adsl.xs4all.nl)
Date: March 18, 2007 05:56PM

Same here with Event Log errors about missing VC80.CRT [eventid 59/sidebyside and eventid 32/sidebyside]
After installing vcredist_x86.exe from [faux.warwickcompsoc.co.uk]
no problems anymore with switching PHP4/PHP5 and starting Apache.
[I did not try latest vcredist.exe: [support.microsoft.com]]

Options: ReplyQuote


Sorry, only registered users may post in this forum.