PDA

View Full Version : PHP4 & Apache2


ejms07
March 18th, 2005, 05:45 PM
How can I enable php4 modules in Apache2?

Thank guys.....you all ROCKS!

Jad
March 19th, 2005, 03:51 AM
I'm not sure how to
if its not a production server then you can always go with ApacheFriends.org, they have Xampp it has to many good features, the top one for me you can switch from php4 to php5 with single command line.

garyng
March 19th, 2005, 02:09 PM
in a terminal :

apt-cache search libapache2

find the php4 module name and :

apt-get install <php4 apache2 module, you look up the name>

ejms07
March 21st, 2005, 11:29 AM
I have libapache2-mod-php4 installed. I just need to edit http.conf and modules.conf but I cannot find the exact path of the php4 modules.

garyng
March 21st, 2005, 05:52 PM
/etc/apache2/mods-available

usually controlled by "a2enmod/a2dismod"