php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59288 ssh2 php module doesn't load
Submitted: 2010-06-30 10:32 UTC Modified: 2012-06-14 21:11 UTC
From: renaud dot durand2 at gmail dot com Assigned: langemeijer (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: 5.3.2 OS: Centos 5.4 x86_64
Private report: No CVE-ID: None
 [2010-06-30 10:32 UTC] renaud dot durand2 at gmail dot com
Description:
------------
Tried to load ssh2-0.11.0 module for php 5.3.2
libssh2 v1.2.6 installed
on CentOS 5.4 x86_64 


Reproduce code:
---------------
#/etc/init.d/httpd start              
Starting httpd                                       [  OK  ]


Expected result:
----------------
php -m | grep ssh2 returns something

Actual result:
--------------
in /var/log/httpd/error_log :

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ssh2.so' - /usr/lib64/php/modules/ssh2.so: undefined symbol: libssh2_sftp_readdir in Unknown on line 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-14 21:11 UTC] langemeijer@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: langemeijer
 [2012-06-14 21:11 UTC] langemeijer@php.net
It seems your libssh2 was not correctly installed. ssh2.so cannot find the method 
libssh2_sftp_readdir, which should be present in libssh2 1.2.6.

You should try a newer version. If the problem persists, please create a new 
bugreport.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC