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?
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.
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?
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. 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.
I didn't find any option to change the binaries for suPHP and mod-PHP under system > server config. Could you open my eyes