Updating horde

this is frustrating; maybe it doesn’t work on PHP 5.4 ?

downloading ssh2-0.12.tgz …
Starting to download ssh2-0.12.tgz (26,223 bytes)
………done: 26,223 bytes
ERROR: pecl.php.net/ssh2 not installed
[root@vraid3 src]# pecl install ssh2 channel://pecl.php.net/ssh2-0.12
Ignoring installed package pecl/ssh2
Ignoring installed package pecl/ssh2
Nothing to install

uninstalled everything, reinstalled everything, the only thing in the horde folder is the js folder. I still see this “ERROR: pecl.php.net/ssh2 not installed”. Going in circles now.

Update: Following the CentOS instructions for ssh2 here worked, with the added caveat that I had to copy the generated ssh2.so to my existing extensions folder. Then I was able to run the horde installation command successfully; pear install -a -B horde/horde-beta

CentOS 6.2 64bit Installation Steps:

1. download the libssh2 package from http://libssh2.org, command as following:
tar vxzf libssh2-1.4.2.tar.gz
cd libssh2-1.4.2
./configure
make
make install

2. download the php-ssh2 package from http://pecl.php.net/package/ssh2:

tar vxzf ssh2-0.11.3
cd ssh2-0.11.3
phpize
./configure –with-ssh2
make
make install

and the ssh2.so file will copy into /usr/lib64/php/modules
check it.

3. modify the php.ini

vi /etc/php.ini

add the “extension=ssh2.so” to the extension part of php.ini

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *