centos - PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/memcached.so' - /usr/lib64/php/modules/memcached.so -
i'm working centos 6.5
when i'm executing php -v
i'm getting below message:
php warning: php startup: unable load dynamic library '/usr/lib64/php/modules/memcached.so' - /usr/lib64/php/modules/memcached.so: cannot open shared object file: no such file or directory in unknown on line 0 php 5.4.36 (cli) (built: dec 19 2014 06:28:27) copyright (c) 1997-2014 php group zend engine v2.4.0, copyright (c) 1998-2014 zend technologies
as seems memcached
error, when i'm trying this
yum install memcached.x86_64 php-pecl-memcache.x86_64
i'm getting below mentioned errors:
loaded plugins: fastestmirror loading mirror speeds cached hostfile * rpmforge: mirror.team-cymru.org drivesrvr | 2.2 kb 00:00 setting install process resolving dependencies --> running transaction check ---> package memcached.x86_64 0:1.4.4-3.el6 installed --> processing dependency: libevent-1.4.so.2()(64bit) package: memcached-1.4.4-3.el6.x86_64 ---> package php-pecl-memcache.x86_64 0:3.0.5-4.el6 installed --> processing dependency: php(zend-abi) = 20090626 package: php-pecl-memcache-3.0.5-4.el6.x86_64 --> processing dependency: php(api) = 20090626 package: php-pecl-memcache-3.0.5-4.el6.x86_64 --> running transaction check ---> package libevent.x86_64 0:1.4.13-4.el6 installed ---> package php-pecl-memcache.x86_64 0:3.0.5-4.el6 installed --> processing dependency: php(zend-abi) = 20090626 package: php-pecl-memcache-3.0.5-4.el6.x86_64 --> processing dependency: php(api) = 20090626 package: php-pecl-memcache-3.0.5-4.el6.x86_64 --> finished dependency resolution error: package: php-pecl-memcache-3.0.5-4.el6.x86_64 (base) requires: php(zend-abi) = 20090626 installed: php-common-5.4.36-1.el6.remi.x86_64 (@remi) php(zend-abi) = 20100525-x86-64 available: php-common-5.3.3-38.el6.x86_64 (base) php(zend-abi) = 20090626 available: php-common-5.3.3-40.el6_6.x86_64 (updates) php(zend-abi) = 20090626 available: php-common-5.3.3-46.el6_6.x86_64 (updates) php(zend-abi) = 20090626 error: package: php-pecl-memcache-3.0.5-4.el6.x86_64 (base) requires: php(api) = 20090626 installed: php-common-5.4.36-1.el6.remi.x86_64 (@remi) php(api) = 20100412-x86-64 available: php-common-5.3.3-38.el6.x86_64 (base) php(api) = 20090626 available: php-common-5.3.3-40.el6_6.x86_64 (updates) php(api) = 20090626 available: php-common-5.3.3-46.el6_6.x86_64 (updates) php(api) = 20090626 try using --skip-broken work around problem try running: rpm -va --nofiles --nodigest
you have installed php "remi" repository not enabled default. need enable install additional php extension, correct abi compatibility.
yum --enablerepo=remi install php-pecl-memcache
read faq : http://blog.remirepo.net/pages/english-faq#enable
Comments
Post a Comment