We have developed a piece of code which can support multiple PHP versions under cPanel. Including the additionally installed PHPs, it will let you to choose 4 different versions of PHP per directory via its user friendly cPanel interface. Installation and uninstallation are quite simple and ti will not touch default PHP installed via EA3.
To install the script,
wget -N http://nixtree.com/download/free/ntphpselector_manage.sh
sh ntphpselector_manage.sh install
Last day we have received a complaint from LXJTian saying ntPHPSelector*installation*was failing on a*specific*server. Up on checking ( we don't charge for our plugin support of course ), we could see that it due to an issue in the manage script that prevents it to sort versions on RHEL 5 based systems. We have corrected it and*released the fix; it is available to download now. Please note that this doesn't include any feature changes; no users have to use the new script and re-install it if ntPHPSelector is already running fine on your servers.
Thank you very much for using ntPHPSelector. Please send your feedback to info[at]nixtree.com. *
While our testing, we have noticed the installation is broken on some systems due to the modification that we have tested to extend support for PHP 5.2 after it is removed from EasyApache. The bug is there over a week and our apologies if anyone faced issues to install ntPHPSelector. It is fixed now and the installation will run fine with the current install script.
Additionally we have written a script to install Ioncube and Zend to additional PHPs. It can be installed via running the following commands.
Due to reported issues "Enabled sqlite support for PHP 5.4 and 5.5" has been reverted. This will not be enabled by default in future installs and users can enable it manually ( it will compile if it is enabled ) anytime.
We have noticed that the script failing in cPanel servers with Additional home directories like “/home2″ and “/home3″. The issue is fixed and new version 2.0.1 is released. Please use the following script to update the changes.
Pushed a minor update to the script that will turn ON short open tag in all php.ini files by default; new version is 2.0.2. It was set to OFF previous builds and we made the change as we realize it may be an inconvenience to the users.
We were receiving reports, mentioning following error while PHP 5.2 compile process.
ext/pcre/.libs/php_pcre.o: In function `pcre_get_compiled_regex_cache':
reference to `pcre_info'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
COMPILE ERROR FOR 52
It is due to the PCRE update in cPanel and we have released version 2.1.0 with a fix. So anyone experienced the above error while installation, please download installer file again and try.