Witam,
Mam problem z instalacją SSH2.
Gdy chcę zainstalować z pakietu i pojawia mi się to :
root@hosting:~# apt-get install libssh2-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssh2-php : Depends: phpapi-20100525
E: Unable to correct problems, you have held broken packages.
root@hosting:~#
Gdy chcę zainstalować go w ten sposób :
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
Punkt 1 przeszedł bez problemu jednak gdy chcę zainstalować php-ssh2 i uruchamiam phpize pojawia się że nie ma takiej komendy, gdy to pominę i wpiszę ./configure --with-ssh2 pokazuje że nie ma takiego pliku.
Pliki które mam w tym folderze to : LICENSE config.m4 php_ssh2.h ssh2.c ssh2_fopen_wrappers.c ssh2_sftp.c
Co w takiej sytuacji mogę zrobić ?
System to : debian-70-x86_64
Z góry dziękuję i pozdrawiam.