Old 10th March 2011, 12:25
theWeird theWeird is offline
Join Date: Nov 2009
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default Switch PHP Interpreter

I've just set up new ISPConfig3 Servers using OpenVZ containers.
But before I move my client's websites to the new virtualized servers I have to ensure that their websites will run on this machine.
I installed the guests with debian squeeze so they use PHP 5.3 which isn't backward compartible to 5.2 in some matters.

Is it possible to install PHP 5.2 parallel on the same server and define for fastCGI-Websites which interpreter to use for the site?
Reply With Quote
Sponsored Links
Old 10th March 2011, 15:44
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

You can not define the php interpreter for fastcgi on site level. But you can e.g. define different php interpreters for the different php methods.

As most sites should be compatible with php 5.3, you acn e.g. use php-fastcgi with php 5.3 and then install a php 5.2 manually in a different path on your server and configure suphp (in the /etc/suphp.conf file) to use this php 5.2 binary. So if a site needs php 5.2, switch it to suphp until the incompatibilities have been fixed.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
theWeird (11th March 2011)


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 14:22
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18

All times are GMT +2. The time now is 19:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.