Hello guys ,,
i am try to install ssh2 in my dedicated server i am use it
pecl install -f ssh2
and i got this
Code:
[root@root ~]# pecl install -f ssh2
WARNING: failed to download pecl.php.net/ssh2 within preferred state "stable", will instead download version 0.12, stability "beta"
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading ssh2-0.12.tgz ...
Starting to download ssh2-0.12.tgz (26,223 bytes)
.........done: 26,223 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
libssh2 prefix? [autodetect] :
building in /var/tmp/pear-build-rootCAVxf5/ssh2-0.12
running: /var/tmp/ssh2/configure --with-ssh2
configure: error: working directory cannot be determined
ERROR: `/var/tmp/ssh2/configure --with-ssh2' failed
[root@root~]#
i am try to install this
1- yum install php
2- yum install gcc php-devel php-pear libssh2 libssh2-devel
but can't to install ssh2
my system [ Centos 6 64bit ]
can some one help me
and thanks.