PDA

View Full Version : how to run both php4 and 5?


arastirici
12th February 2009, 16:20
I use ispconfig on opensuse11

I installed php5.2.6 on it.

is it possible to run both php4 and 5?

I want to install php4 too.

How can I do that without causing any problem ?

Thanks

till
12th February 2009, 22:06
As far as I know, there is no php4 available for opensuse 11, so you will have to compile it as cgi.

arastirici
13th February 2009, 11:15
How can I compile php4 as cgi without causing any problem for php5 ?

till
13th February 2009, 13:00
If you run php5 as mod_php then it will not interfere with a php4 compiled as cgi. For the php compile options, please take a look at the php manual:

http://www.php.net