I have followed the instructions here: https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/ all seemed to work good but one error the cmd: pecl -C ./pear.conf install xdebug error: checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 7.0.0 and < 7.3.0 (found 5.6.30) ERROR: `/tmp/pear/temp/xdebug/configure --with-php-config=/opt/php-5.6.30/bin/php-config' failed Since it is a debug I didnt think it would affect anything else I finished the installation OK. moved to configure a site I want to run with php 5.6.30 and set it to use each of the modes PH-FPM and FAST-CGI using PHP-5.6.30 but it continue to use the original installed php 7. I ran phpinfo System Linux xxxxxxxx 4.4.0-124-generic #148-Ubuntu SMP Wed May 2 13:00:18 UTC 2018 x86_64 Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php/7.0/apache2 Loaded Configuration File /etc/php/7.0/apache2/php.ini Scan this dir for additional .ini files /etc/php/7.0/apache2/conf.d I double checked the ispconfig path in the step 4 of the howto and they are correct as in the howto. Now what? how can I troubleshoot this? any logs I can look at? any hint would be appreciated.