I’ve installed 2 php versions on my server (which is managed by ISPconfig 3) using this howto: https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/ I’m trying to add pecl ssh2 extension only to my 5.6 installation. Any help will be appreciated! Answer Done by changing the pecl script to always work through php5.6 version Edited: And added this line after the first code block (after it