Hi,
I recently upgraded to php 5.3.8.
The problem is that libssh isn't compiled for that php version:
[root@newlightsystems herramientas]# php -v
PHP Warning: PHP Startup: ssh2: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.8 (cli) (built: Aug 26 2011 10:24:47)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
Any site to download correct RPM ?
cat /etc/redhat-release
CentOS release 5.5 (Final)
Thanks,
Libssh with PHP 5.3.8
Re: Libssh with PHP 5.3.8
Apparently ( I say apparently as I haven't followed any of the links) ssh2 is compiled through pecl so the first link from Google should free you from your pickle!
http://www.google.co.uk/search?q=php+li ... =firefox-a
http://www.google.co.uk/search?q=php+li ... =firefox-a
Re: Libssh with PHP 5.3.8
Worked with:
pecl install ssh2 channel://pecl.php.net/ssh2-0.11.3
Regards,
pecl install ssh2 channel://pecl.php.net/ssh2-0.11.3
Regards,