ssh2_exec on Windows not working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • adamsbarker

    ssh2_exec on Windows not working

    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($conn ection, '/usr/local/bin/php -i');

    i have tried the windows equivalent:

    ssh2_exec($conn ection, 'c:\php\php.exe c:\some_file.ph p');

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

    thanks,
    adam.

Working...