Having something like this happening -
Have done all the above and using the test.php still fails
?Is there a php_ssh2.so file made somewhere along this road?
I can't find it.
I did the following using the latest versions from sourceforge.net:
cd /usr/src
downloaded libssh2-1.0.tar.gz
tar -zxvf libssh2-1.0.tar.gx
cd libssh2-1.0
./configure
make all installed
pecl install -f ssh2
moved the libssh2.so.1.0.0 to my /usr/lib64 folder
created links libssh2.so and libssh2.so.1 to libssh2.so.1.0.0
moved the ssh2.so /usr/lib64/php/modules (to match path in php.ini)
added extension=ssh2.so to the php.ini folder.
test.php still fails
info.php does not show any php_ssh2 section
[so far this is the same as above work by others]
Then I went to make the changes to ssh2.c and found that it was not there.
Found it in - ssh2-0.11.0.tgz - so did the following
cd /usr/src
downloaded ssh2-0.11.0.tgz
tar -zxvf ssh2-0.11.0.tgz
cd ssh2-0.11.0
Checked for the recommended changes and found that ssh2-0.11.0 had all of them.
phpize
./configure
make
This created /usr/src/ssh2-0.11.0/modules/ssh2.so
I was expecting a php_ssh2.so module to be created -
Moved this to ssh2.so /usr/lib64/php/modules (to match path in php.ini)
test.php still fails
info.php does not show any php_ssh2 section
I am running on RHEL 5 with PHP 5.1.6
[note: service sshd restart and service httpd restart done before each test]
Have done all the above and using the test.php still fails
?Is there a php_ssh2.so file made somewhere along this road?
I can't find it.
I did the following using the latest versions from sourceforge.net:
cd /usr/src
downloaded libssh2-1.0.tar.gz
tar -zxvf libssh2-1.0.tar.gx
cd libssh2-1.0
./configure
make all installed
pecl install -f ssh2
moved the libssh2.so.1.0.0 to my /usr/lib64 folder
created links libssh2.so and libssh2.so.1 to libssh2.so.1.0.0
moved the ssh2.so /usr/lib64/php/modules (to match path in php.ini)
added extension=ssh2.so to the php.ini folder.
test.php still fails
info.php does not show any php_ssh2 section
[so far this is the same as above work by others]
Then I went to make the changes to ssh2.c and found that it was not there.
Found it in - ssh2-0.11.0.tgz - so did the following
cd /usr/src
downloaded ssh2-0.11.0.tgz
tar -zxvf ssh2-0.11.0.tgz
cd ssh2-0.11.0
Checked for the recommended changes and found that ssh2-0.11.0 had all of them.
phpize
./configure
make
This created /usr/src/ssh2-0.11.0/modules/ssh2.so
I was expecting a php_ssh2.so module to be created -
Moved this to ssh2.so /usr/lib64/php/modules (to match path in php.ini)
test.php still fails
info.php does not show any php_ssh2 section
I am running on RHEL 5 with PHP 5.1.6
[note: service sshd restart and service httpd restart done before each test]