• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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