Carlangueitor gracias por responder , segui los pasos que me indicaste pero no logro hacer la instalación satisfactoria
1.yum install automake make php-devel libtool openssl-devel gcc++ gcc
Código BASH:
Ver original[root@Montes ~]# yum install automake make php-devel libtool openssl-devel gcc++ gcc
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.edatel.net.co
* epel: mirror.globo.com
* extras: mirror.edatel.net.co
* updates: mirror.edatel.net.co
* webtatic: us-east.repo.webtatic.com
Setting up Install Process
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package 1:make-3.81-20.el6.i686 already installed and latest version
Package libtool-2.2.6-15.5.el6.i686 already installed and latest version
Package openssl-devel-1.0.0-27.el6_4.2.i686 already installed and latest version
No package gcc++ available.
Package gcc-4.4.7-3.el6.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php-devel.i686 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php(x86-32) = 5.3.3-23.el6_4 for package: php-devel-5.3.3-23.el6_4.i686
--> Finished Dependency Resolution
Error: Package: php-devel-5.3.3-23.el6_4.i686 (updates)
Requires: php(x86-32) = 5.3.3-23.el6_4
Installed: php-5.5.1-1.el6.remi.i686 (@remi-test)
php(x86-32) = 5.5.1-1.el6.remi
Available: php-5.3.3-22.el6.i686 (base)
php(x86-32) = 5.3.3-22.el6
Available: php-5.3.3-23.el6_4.i686 (updates)
php(x86-32) = 5.3.3-23.el6_4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
2. cd /usr/lib/php
Código BASH:
Ver original[root@Montes ~]# cd /usr/lib/php
[root@Montes php]# pwd
/usr/lib/php
3.wget
http://pecl.php.net/get/ssh2-0.12.tgz
Código BASH:
Ver original[root@Montes php]# wget http://pecl.php.net/get/ssh2-0.12.tgz
--2013-08-07 14:54:38-- http://pecl.php.net/get/ssh2-0.12.tgz
Resolviendo pecl.php.net... 76.75.200.106
Connecting to pecl.php.net|76.75.200.106|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 26223 (26K) [application/octet-stream]
Saving to: `ssh2-0.12.tgz'
100%[======================================>] 26.223 56,2K/s in 0,5s
2013-08-07 14:54:39 (56,2 KB/s) - `ssh2-0.12.tgz' saved [26223/26223]
4. crar direcotorio build-dir
Código BASH:
Ver original[root@Montes php]# mkdir build-dir
[root@Montes php]# ls -l
total 36
drwxr-xr-x. 2 root root 4096 ago 7 14:57 build-dir
drwxrwxrwx. 2 root root 4096 ago 7 00:16 modules
-rw-r--r--. 1 root root 26223 oct 15 2012 ssh2-0.12.tgz
5. mover y descomplirmir
Código BASH:
Ver original[root@Montes php]# mv ssh2-0.12.tgz build-dir
[root@Montes php]# cd build-dir
[root@Montes build-dir]# tar xzvf ssh2-0.12.tgz
package.xml
ssh2-0.12/config.m4
ssh2-0.12/ssh2.c
ssh2-0.12/php_ssh2.h
ssh2-0.12/ssh2_fopen_wrappers.c
ssh2-0.12/ssh2_sftp.c
ssh2-0.12/LICENSE
5.compilar
Código BASH:
Ver original[root@Montes build-dir]# phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
es aca donde tengo el problema, que estoy haciendo mal?