ssh2_connection for Web service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can successfully create a ssh connection within a index.php file by using
ssh2_connect(). But when I try to create a web service by using the same
code, I got "Unable to connect to a.b.c.d (IP address) on port 22" error. In
other words, if I run the command "php index.php" under shell prompt, it
works perfectly; but if I request the same file through my Web browser (
http://mydomain/index.php), I got an unable to connect error. Is there
someone having any idea about that. Thanks a lot for your help. (REHL 5 with
PHP 5.1.6)

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux