2013-11-15 13 views
5

Właśnie zakończyłem instalację php FASTCGI (php-fpm) v.5.5 z Nginx. na nowym Centos6.4instalowanie php-memcached na centos 6.4 z php5.5

próbuję zainstalować memcached ale napotykają na wiele problemów ..... oto moje kroki:

/bin/rpm -ivh http://ftp.uninett.no/linux/epel/6/i386/epel-release-6-8.noarch.rpm 
/bin/rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 
yum --enablerepo=remi,remi-php55 install nginx php-common php-fpm php-mysqlnd 

ale gdy próbuje dodać memcached:

yum install php-pecl-memcached.x86_64 (Extension to work with the Memcached caching daemon) 

to braku ...:

> Resolving Dependencies 
> --> Running transaction check 
> ---> Package php-pecl-memcached.x86_64 0:1.0.0-1.el6 will be installed 
> --> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcached-1.0.0-1.el6.x86_64 
> --> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcached-1.0.0-1.el6.x86_64 
> --> Processing Dependency: libmemcached.so.2(libmemcached_2)(64bit) for package: php-pecl-memcached-1.0.0-1.el6.x86_64 
> --> Processing Dependency: libmemcached.so.2()(64bit) for package: php-pecl-memcached-1.0.0-1.el6.x86_64 
> --> Running transaction check 
> ---> Package libmemcached.x86_64 0:0.31-1.1.el6 will be installed 
> ---> Package php-pecl-memcached.x86_64 0:1.0.0-1.el6 will be installed 
> --> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcached-1.0.0-1.el6.x86_64 
> --> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcached-1.0.0-1.el6.x86_64 
> --> Finished Dependency Resolution Error: Package: php-pecl-memcached-1.0.0-1.el6.x86_64 (epel) 
>   Requires: php(zend-abi) = 20090626 
>   Installed: php-common-5.5.6-1.el6.remi.x86_64 (@remi-php55) 
>    php(zend-abi) = 20121212-64 
>   Available: php-common-5.3.3-22.el6.x86_64 (base) 
>    php(zend-abi) = 20090626 
>   Available: php-common-5.3.3-23.el6_4.x86_64 (updates) 
>    php(zend-abi) = 20090626 Error: Package: php-pecl-memcached-1.0.0-1.el6.x86_64 (epel) 
>   Requires: php(api) = 20090626 
>   Installed: php-common-5.5.6-1.el6.remi.x86_64 (@remi-php55) 
>    php(api) = 20121113-64 
>   Available: php-common-5.3.3-22.el6.x86_64 (base) 
>    php(api) = 20090626 
>   Available: php-common-5.3.3-23.el6_4.x86_64 (updates) 
>    php(api) = 20090626 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles 
> --nodigest 

to działało dobrze na PHP 5.4 .... am I czegoś brakuje? thx.

+2

Hej. 'yum --enablerepo = remi install memcached'? –

+0

yeap ... to zrobiło :) yum --enablerepo = remi, remi-php55 zainstaluj php-pecl-memcached.x86_64 –

+0

Cieszę się, że udało się. –

Odpowiedz

6

Dodany odpowiedź według skomentować:

yum --enablerepo=remi,remi-php55 install php-pecl-memcached.x86_64 

lub jak określono dodać stały się yum.