Hello, I installed 7.1 has an Additional PHP on Jessie using the HowTo. I have switched the site to use 7.1, however, /etc/apache/sites-available still has: /var/www/clients/client44/web184/cgi-bin/php5-fcgi When I switched to 7.1, shouldn't the Additional PHP settings override the Server Config Web / PHP and FastCGI settings? Both the CP and the Web serves are running ISPConfig: There are no updates available for ISPConfig 3.1.11 I do not want to hand edit the ghost config and I do not want to change the Server Config. Thank you.
Hey That will be Quick for you can follow below Steps or links First of all you have to add a new version for the already installed PHP version. On the Name tab, you just fill in a name for the PHP version - this PHP version will be listed under this name in the website settings in ISPConfig: Settings > Additional PHP Versions . and then follow STEP 2 and add revelant information to the setting eg if you want PHP 7 and check below PHP 7 info and add to ispconfig STEP 1 Go to the FastCGI Settings tab and fill out the fields as follows: Path to the PHP FastCGI binary: php5-cgi Path to the php.ini directory: /etc/php5/cgi/php.ini STEP 2 Then go to the PHP-FPM Settings tab and fill out the fields as follows: Path to the PHP-FPM init script: php5-fpm Path to the php.ini directory: /etc/php5/fpm/php.ini Path to the PHP-FPM pool directory: /etc/php5/fpm/pool.d Important step for cron jobs If you use cron jobs calling PHP scripts you also have to tell cron which version to use. Add php5 in the beginning of the command to use the Debian's version. If you are not sure what you exactly are using follow the symlink /usr/bin/php and use its final destination as prefix. Add other PHP versions Currently there are 3 versions available at https://packages.sury.org/php/ and you have to repeat the last step now for every version you will install. But use the following settings instead: PHP 5.6 Path to the PHP FastCGI binary: php-cgi5.6 Path to the php.ini directory: /etc/php/5.6/cgi/php.ini Path to the PHP-FPM init script: php5.6-fpm Path to the php.ini directory: /etc/php/5.6/fpm/php.ini Path to the PHP-FPM pool directory: /etc/php/5.6/fpm/pool.d The cli version for e.g. cron jobs has the name php5.6. PHP 7.0 Path to the PHP FastCGI binary: php-cgi7.0 Path to the php.ini directory: /etc/php/7.0/cgi/php.ini Path to the PHP-FPM init script: php7.0-fpm Path to the php.ini directory: /etc/php/7.0/fpm/php.ini Path to the PHP-FPM pool directory: /etc/php/7.0/fpm/pool.d The cli version for e.g. cron jobs has the name php7.0. PHP 7.1 Path to the PHP FastCGI binary: php-cgi7.1 Path to the php.ini directory: /etc/php/7.1/cgi/php.ini Path to the PHP-FPM init script: php7.1-fpm Path to the php.ini directory: /etc/php/7.1/fpm/php.ini Path to the PHP-FPM pool directory: /etc/php/7.1/fpm/pool.d The cli version for e.g. cron jobs has the name php7.1. and