#1  
Old 12th June 2012, 18:57
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 263 Times in 208 Posts
Lightbulb Multiple PHP versions

Hello,

I wonder if it would be possible (and would make sense, of course) to add the possibility of choosing different php versions when in fcgi mode (and maybe fpm).
As php 5.4 is the most recent version right now (5.3 on debian stable), I have to add a manually compiled php 5.2.17 for some customers because of the major changes from 5.2 to 5.3.
It would be much easier being able to choose the php version from the ispc admin instead of configuring this by hand for each affected client / web.

Maybe there could be a conf/ini file where one can provide the different installed php versions and their paths (like /usr/bin/php52/php-cgi and /etc/php52/php.ini) and the "default" php version is always added automatically in the interface select box.

I think this could make some server updates a lot easier if there is a new major php version. You could set all clients/webs to a manually compiled php version (maybe using a script and the remoting api) and then upgrade the server without breaking all the incompatible webs.

What do you think?
Reply With Quote
Sponsored Links
  #2  
Old 12th June 2012, 19:15
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,779
Thanks: 840
Thanked 5,610 Times in 4,421 Posts
Default

Thats already implemented in svn version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th June 2012, 20:10
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 263 Times in 208 Posts
Default

Oh dear... Thanks.
Reply With Quote
  #4  
Old 13th June 2012, 04:10
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 7 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
Thats already implemented in svn version.
Any hints as to when this will be rolled out to stable?
Thanks
Reply With Quote
  #5  
Old 13th June 2012, 09:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,779
Thanks: 840
Thanked 5,610 Times in 4,421 Posts
Default

This feature is part of ISPConfig 3.0.5. There are not many pending tasks open in the roadmap for that version, so a first beta version should be released in a few weeks.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 3rd July 2012, 12:43
wkmpl wkmpl is offline
Junior Member
 
Join Date: Jul 2012
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Till,

first thanks for this great software.

Is there any chance to get the multiple PHP versions feature of the dev version into the current stable version e.g. by patching it with the commits from svn (2990-2994). That would be awesome because our customer need this feature.

Or is there any workaround e.g. using another compiled php version for suPHP or mod-PHP selection?
Reply With Quote
  #7  
Old 3rd July 2012, 12:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,779
Thanks: 840
Thanked 5,610 Times in 4,421 Posts
Default

Quote:
Is there any chance to get the multiple PHP versions feature of the dev version into the current stable version e.g. by patching it with the commits from svn (2990-2994). That would be awesome because our customer need this feature.
It is unlikely that this will work, the current SVN version ha smany changes and new libraries which are not present in the current stable release.

Quote:
Or is there any workaround e.g. using another compiled php version for suPHP or mod-PHP selection?
Thats possible in the current stable release. You can use different php versions for mod_php, cgi, suphp and fastcgi. The paths to the php binaries are configurable under system > server config.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 13:56
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
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 14:54.


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