• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

php4 and 5 Side by Side

D

donkle

Guest
Hi There,

I have a few plesk servers dotted about and have hit a snag with my new one!

I have my others with MT using php4 (default) and php5 cgi (enabled per domain in conf files). Ideally I'd like to do the same on my new system.

By default it has php 5.1.6 - I'd like to change this to php 4.x and enable php 5.x on a per domain basis.

I think the system is running Centos 5

Also, is it possible to upgrade php 5.1.6 to 5.2.x ?

TIA for *any* help!

Mr D!
 
Hi,
You can upgrade PHP version if the new package is available in the repositories. You can use "yum" or install from .rpm, any way is suitable. Everything should work withoug problems.
However please note, you can not use PHP 4 and PHP 5 on the same server (if we are talking about Linux server). You can have only one version at time.
 
Actually you can use php 4 and php 5 on the same server. You can even set everything so that when adding a client to an ip his site will work with php 4 (mod_php) and if you add it to an other ip, his site will work with php 5 (mod_php also). Got this set up on a number of servers and it's working fine.
 
U Can use PHP 5.2.5

U Download php-5.2.5.src.rpm from fedora devlopment and recompile and install

U System Can Use php 5.2.5

^^
 
How do you set this up so that PHP4 and PHP5 can both be used on the same Plesk server. I am running 8.3.0 for Linux.
 
Back
Top