PDA

View Full Version : Multi PHP (5.3 + 5.2)


zst_pro
08-10-2012, 05:43 PM
Hi,

One of our customers have applications that do not work in PHP 5.3, if you can install PHP 5.2.x for him?

slava
08-11-2012, 04:27 AM
You can build PHP manually from sources to /usr/local/php/ or /opt/php/ and use php-cgi file from this in PHP as CGI mode, also you can configure path phpbinary (http://en.ispdoc.com/index.php/ISPmanager_configuration_file_(ISPmanager)) for easy choose

szluga
10-22-2012, 12:22 AM
Is there a tutorial example that demonstrates this compilation? Alternatively, if you could provide a step-by-step how to do it?

szluga
11-03-2012, 03:27 PM
How to set a single vHost to use new PHP, which is located in /usr/local/php54 ?
Of course, without changing patch_phpbinary in ispmanager config file.

slava
11-03-2012, 07:24 PM
Edit path in ~/php-bin/php file (in user home directory). It will change php binary for user's sites in php as cgi mode

wedoportalz
04-16-2013, 07:07 PM
:rolleyes:Hi,

One of our customers have applications that do not work in PHP 5.3, if you can install PHP 5.2.x for him?