This extension enables PHP to connect to and use SSH2 servers. To enable the pgsql extension for php, go to /etc/php.d/ssh2.ini and uncomment the line: ; extension=ssh2.so