PHP4 and PHP5

Discussion in 'Linux VPS/Dedicated - cPanel' started by t3go, Apr 28, 2007.

  1. t3go

    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 forums but didnt find anything to what i need.

    Anything can help me at this point!
  2. khiltd

    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.
  3. gsv

    gsv Voice of Reason

    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.
  4. khiltd

    khiltd New Member

    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.
  5. gsv

    gsv Voice of Reason

    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.
  6. khiltd

    khiltd New Member

    I don't care, I simply interpreted your previous statement to mean that you were proposing a solution that involved no httpd.conf modifications.
  7. Aussie_Boy

    Aussie_Boy Member

Share This Page