US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > How-To Guides

Notices

Reply
 
Thread Tools
Old 08-10-2012, 05:43 PM   #1
Junior Member
 
Join Date: Aug 2012
Posts: 5
zst_pro is on a distinguished road
Default Multi PHP (5.3 + 5.2)

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?
zst_pro is offline   Reply With Quote
Old 08-11-2012, 04:27 AM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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 for easy choose
slava is offline   Reply With Quote
Old 10-22-2012, 12:22 AM   #3
Junior Member
 
Join Date: Sep 2011
Posts: 18
szluga is on a distinguished road
Default

Is there a tutorial example that demonstrates this compilation? Alternatively, if you could provide a step-by-step how to do it?
szluga is offline   Reply With Quote
Old 11-03-2012, 03:27 PM   #4
Junior Member
 
Join Date: Sep 2011
Posts: 18
szluga is on a distinguished road
Default

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.
szluga is offline   Reply With Quote
Old 11-03-2012, 07:24 PM   #5
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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
slava is offline   Reply With Quote
Old 04-16-2013, 07:07 PM   #6
Junior Member
 
Join Date: Apr 2013
Posts: 1
wedoportalz is on a distinguished road
Default

Quote:
Originally Posted by zst_pro View Post
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?
wedoportalz is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:11 AM.