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.
Problem in activating ssh2 module and php.
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Problem in activating ssh2 module and php.
Does libssh2 require that you have a current version of openssh installed?
(#10850)
Re: Problem in activating ssh2 module and php.
I do have openssh installed on the machine but I don't remember anyone mentioned it as prerequisite.
anyway I am still looking for an answer to my problem.
anyway I am still looking for an answer to my problem.