[BlueOnyx:13851] Re: home/solarspeed/php/lib/php/20090626/ssh2.so'

Michael Stauber mstauber at blueonyx.it
Tue Oct 15 20:07:03 -05 2013


Hi Gerald,

>>> /Unable to load dynamic library
>>> '/home/solarspeed/php/lib/php/20090626/ssh2.so'/
> 
> [root at msi3 ~]# /home/solarspeed/php/bin/php --version
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/home/solarspeed/php/lib/php/20090626/ssh2.so' - libssh2.so.1: cannot
> open shared object file: No such file or directory in Unknown on line 0
> PHP Deprecated:  Directive 'register_globals' is deprecated in PHP 5.3
> and greater in Unknown on line 0
> 
> Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and
> greater in Unknown on line 0
> PHP 5.3.9 (cli) (built: Jan 17 2012 14:11:57)

Do you really have the ancient PHP-5.3.9 installed on that box? It's
horribly outdated.

The latest PHP-5.3 is 5.3.27 and then it got EOL'ed.

Anyway: You seem to be missing the RPMs for libssh2, libssh2-devel and
libssh2-docs, which that PKG automatically installs via YUM in the
pre-install script:

/usr/bin/yum install -y ImageMagick icu libicu-devel libmcrypt libmhash
libmhash-devel libssh2 libssh2-devel libssh2-docs aspell postgresql
postgresql-libs

So you can fix that by either running the above "yum install" command,
or you can disable the SSH2 support in PHP by deleting the file
/home/solarspeed/php/etc/php.d/ssh.ini and then restarting Apache.


-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list