PHP4 and PHP5

t3go

New Member
Hello All,

I was looking for some tips on how to make PHP4 and PHP5 run on the same server so if one of my clients wants php5 he can and same with php4?

I have tryed to read up on cpanel.net forums but didnt find anything to what i need.

Anything can help me at this point!
 

khiltd

New Member
There are a lot of sample configs out there if you Google for them. They will pretty much all break cPanel, though, so don't do it unless you're willing to handle all your Apache and PHP builds manually from now on.
 

gsv

Voice of Reason
There are a lot of sample configs out there if you Google for them. They will pretty much all break cPanel, though, so don't do it unless you're willing to handle all your Apache and PHP builds manually from now on.
Actually, this is untrue. cPanel happens to be quite flexible with most "dual-version" implementations.

Unless you select to reset your httpd.conf, it will not be, and the /usr/local/php5 directory (that is commonly used which such installed) is uninfluenced by PHP compiles through easyapache.
 

khiltd

New Member
Actually, this is untrue. cPanel happens to be quite flexible with most "dual-version" implementations.

Unless you select to reset your httpd.conf, it will not be, and the /usr/local/php5 directory (that is commonly used which such installed) is uninfluenced by PHP compiles through easyapache.
Do you have an example of this being done with suexec support on both versions? I've never tried it, I'm just not sure how one would get very far without modifying httpd.conf.
 

khiltd

New Member
Minor modifications are necessary to httpd.conf. But, who cares? cPanel doesn't overwrite that *ever* unless you specifically select for it to do so when running easyapache.
I don't care, I simply interpreted your previous statement to mean that you were proposing a solution that involved no httpd.conf modifications.
 
Top