Hi all.
I'm running PHP 5.3.3 on a Windows Server 2008 R2 machine, on IIS. Now I have the need to connect to another server via SSH to get some information, and I found the SSH extension on php.net.
I downloaded this file: php_ssh2-svn20091128-5.3-nts-vc9-x86.zip
Well, I added the file php_ssh2.dll to C:\PHP\ext, and added the following rows to php.ini:
extension_dir = "ext"
extension=php_ssh2.dll
I have restarted IIS, but no luck. I added just one row to a .php-file, namely this one:
<?php $connection = ssh2_connect('192.168.1.123', 22); ?>
All I get is "500 - Internal server error" when running this script. So, if anyone has a clue as to what causes this, I would be extremely grateful.
Cheers.