ssh2_exec on Windows not working

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

i can't seem to get the "ssh2_exec" function working on Windows XP. the
example in the manual (which is obviously linux biased) says:

 ssh2_exec($connection, '/usr/local/bin/php -i');

i have tried the windows equivalent:

 ssh2_exec($connection, 'c:\php\php.exe c:\some_file.php');

... along with many other variations, but nothing seems to be working.
does anyone know what i could be doing wrong?


Site Timeline