Under ISPConfig 3 you can have more than one PHP release available for your websites. Not every project runs perfectly in all versions, there is still out there some software that needs PHP 5.
I will show how easy is to add new PHP versions. This example installs PHP 7.2. UPDATE: PHP 7.3 and 7.4 RPM's are out, the same process applies to them.
I use the REMI repository. Add the repository and when you are ready, type: yum install php72-php php72-php-xml php72-php-imap php72-php-pecl-apcu-bc php72-php-opcache php72-php-mysqlnd php72-php-pecl-uploadprogress php72-php-gd php72-php-pecl-mcrypt php72-php-pecl-memcached php72-php-cli php72-php-pecl-yaml php72-php-odbc php72-php-pecl-memcache php72-php-fpm php72-php-intl
For PHP 7.3 or 7.4 you just change the prefix, for example for PHP 7.3 php73-php and for PHP 7.4 do php74-php.
These are only some useful packages, you will need to add more PHP modules as you need them.
Go to System -> Additional PHP Version menu and add as follows:
After this, it will be available in your system, but we haven't finished yet.
All the configuration files are under /etc/opt/remi. Take note of the following:
You are all set. Happy hosting.
blog comments powered by Disqus