Problem in activating ssh2 module and php.
Posted: Tue Jun 16, 2009 3:08 am
Hello,
I am running php version: 5.2.5
compiled libssh2 version:0.14
& installed ssh2 module version:0.10
I restarted my compiled apache version 2.2.8 to activate the module and tried to run an example ssh2 script to test if its working but it doesn't work and the scripts claims it can't find ssh2_connect method.
my php.ini is located at /usr/local/lib/ .
In my php.ini I added: extension=ssh2.so
my php is installed at /usr/local/php-5.2.5
my libssh2.so is located at /usr/local/lib/libssh2.so
my ssh2.so is located at: /usr/local/php-5.2.5/lib/php/extensions/no-debug-non-zts-20060613/
The script I am tring to run is taken from:
http://kevin.vanzonneveld.net/techblog/ ... _with_php/
Can anyone assist in resolving that issue, it looks like I am missing something here.
I read several times the php ssh2 installation documentation but without success.
Thank you very much.
Nissim.
I am running php version: 5.2.5
compiled libssh2 version:0.14
& installed ssh2 module version:0.10
I restarted my compiled apache version 2.2.8 to activate the module and tried to run an example ssh2 script to test if its working but it doesn't work and the scripts claims it can't find ssh2_connect method.
my php.ini is located at /usr/local/lib/ .
In my php.ini I added: extension=ssh2.so
my php is installed at /usr/local/php-5.2.5
my libssh2.so is located at /usr/local/lib/libssh2.so
my ssh2.so is located at: /usr/local/php-5.2.5/lib/php/extensions/no-debug-non-zts-20060613/
The script I am tring to run is taken from:
http://kevin.vanzonneveld.net/techblog/ ... _with_php/
Can anyone assist in resolving that issue, it looks like I am missing something here.
I read several times the php ssh2 installation documentation but without success.
Thank you very much.
Nissim.