• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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