Results 1 to 8 of 8
Thread: PHP4 & PHP5 Advice
Hybrid View
-
10-01-2006, 06:41 AM #1WHT Addict
- Join Date
- Jun 2003
- Posts
- 150
PHP4 & PHP5 Advice
Hi everyone, on my servers I have one program that will only work as php 4, at the moment I have php 5 working as .php5.
However its time to change, I need to get PHP 4 to now run as .php4 (with phpsuexec) and PHP 5 to run as .php (with phpsuexec) now I know I can use easy apache to change .php to be running as PHP 5.
But what is the best way to get php 4 installed as .php4?
Help is much appreciated!
RegardsLast edited by deastwood; 10-01-2006 at 06:46 AM.
-
10-01-2006, 08:34 AM #2Web Hosting Master
- Join Date
- Nov 2004
- Location
- Australia
- Posts
- 1,737
is this with cpanel? You should also check cpanel.net - think I've seen an answer to this there.
-
10-01-2006, 09:56 AM #3Aspiring Evangelist
- Join Date
- Mar 2005
- Posts
- 402
-
10-01-2006, 11:04 AM #4WHT Addict
- Join Date
- Jun 2003
- Posts
- 150
will have a look brianoz thanks
@ servax, i would still need to install php4 though as I want php5 to be the one compiled with apache.
-
10-01-2006, 12:10 PM #5Web Hosting Master
- Join Date
- Nov 2004
- Location
- Australia
- Posts
- 1,737
There's a nice thread on the cpanel forums at:
HOW-TO: Apache + phpsuexec + php4 (cgi) + php5 (cgi)
http://forums.cpanel.net/showthread.php?t=45908
Check it out! This should be able to be adapted to PHP5 easily enough ...
-
10-01-2006, 12:30 PM #6WHT Addict
- Join Date
- Jun 2003
- Posts
- 150
so basically just run the second step for php 4, ok i think i get it, will have a go later or might just pay someone todo it lol!
-
10-01-2006, 12:33 PM #7Aspiring Evangelist
- Join Date
- Mar 2005
- Posts
- 402
-
10-01-2006, 12:35 PM #8WHT Addict
- Join Date
- Jun 2003
- Posts
- 150
cheers, im slowly learning, i think im getting the hang of all the little bits todo with the server, appreciate your help!