简体   繁体   English

如何安装php-pecl-memcached

[英]how to installing php-pecl-memcached

for the life of me i cannot load yum install php-pecl-memcached 为了我的生命,我无法加载yum安装php-pecl-memcached

From the above i get the following messages: ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: nagios-plugins-1.4.15-2.el6.rf.x86_64 has missing requires of fping nagios-plugins-1.4.15-2.el6.rf.x86_64 has missing requires of perl(Net::SNMP) 从上面我得到以下消息:**找到2个预先存在的rpmdb问题,'yum check'输出如下:nagios-plugins-1.4.15-2.el6.rf.x86_64缺少fping nagios的要求-plugins-1.4.15-2.el6.rf.x86_64缺少对perl的要求(Net :: SNMP)

When i skip broken i get Packages skipped because of dependency problems: php-pecl-memcached-2.1.0-7.el6.art.x86_64 from atomic 当我跳过损坏的文件时,我会由于依赖问题而跳过软件包:php-pecl-memcached-2.1.0-7.el6.art.x86_64来自atomic

I have spend a long time trying to get Memcached working i'm completely stumped. 我花了很长时间尝试让Memcached正常工作,我对此深感困惑。 I'm running CentOS 6.4 rhel 我正在运行CentOS 6.4 Rhel

Any guidance is very welcome 任何指导都非常欢迎

从源代码安装,解决依赖关系问题可能需要一辈子: http : //kb.liquidweb.com/install-memcached-on-centos-5/

Looks like you have a dependency problem due to conflicting yum repos. 看起来您有一个依赖问题,原因是yum仓库冲突。 You can try removing recently added yum repos and trying. 您可以尝试删除最近添加的yum仓库并尝试。 Or you could simply do a sudo pecl install memcached 或者你可以简单地做一个sudo pecl install memcached

what all users who answer this question fail to explain to the novice is that there are two versions of memcache(d) there is the old memcache that needs extension=memcache.so to be placed in the php.ini file and there is the more recent one memcached which almost every tutorial I have read fails to explain to the novice how to set up memcached daemon. 回答此问题的所有用户都无法向新手解释的是,有两种版本的memcache(d),有旧的memcache需要将extension = memcache.so放在php.ini文件中,还有更多最近的一份memcached,我几乎阅读过的每个教程都无法向新手解释如何设置memcached守护程序。 here is a link to one tutorial that should help fix that gap http://bookofzeus.com/articles/how-to-install-memcached-in-ubuntu/ after using this tutorial my Laravel app worked as sweet as a nut 这是指向一个教程的链接,该教程应该有助于弥补这一差距http://bookofzeus.com/articles/how-to-install-memcached-in-ubuntu/在使用了本教程之后,我的Laravel应用程序像螺母一样工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM