I have to use a PHP extension called ssh2: http://php.net/manual/en/book.ssh2.php
I downloaded the sources, and compiled them. Then I copied the .dll to my php ext directory. Then I added extension=php_ssh2.dll
to php.ini
and I restarted Apache2 and I got the following error:
PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_ssh2.dll' - The specified module could not be found
It is weird because I have php_ssh2.dll on that path. Maybe I compiled it in a wrong way?
I am using xampp, by the way. The rest of the extension load correctly.