Possible to have php4 and php5 installed and usable at one time?

surfdue

Member
May 20, 2006
18
0
151
Hello basically the topic ask the question, I need to know becuase some users need php5, yet i heard many things dont work on php5 liek zend optimizer or ion. Is there a way to allow both and allow the user to pick from which one to use on his account? Thank you!
 
Last edited:

surfdue

Member
May 20, 2006
18
0
151
I am referring to if I check under update apache, both versions of php and allowing my clients to choose which to use? Is this possible? Is there a module or something someone made to allow this? And can I check both?
 

rhenderson

Well-Known Member
Apr 21, 2005
784
2
168
Oklahoma
cPanel Access Level
Root Administrator
surfdue said:
I am referring to if I check under update apache, both versions of php and allowing my clients to choose which to use? Is this possible? Is there a module or something someone made to allow this? And can I check both?

You need to install one as cgi and one as cli, see my phpinfo files. Php5 and Php4 on the same server. We used the one of the threads from this forum to do it, but reversed ours so that Php5 was standard cli and Php4 was cgi instead of the other way around.