|  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
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/' - /usr/lib64/php/modules/ undefined symbol: libssh2_sftp_readdir in Unknown on line 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-14 21:11 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: langemeijer
 [2012-06-14 21:11 UTC]
It seems your libssh2 was not correctly installed. 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 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 13:01:24 2023 UTC