如何解决在php56w上安装php-pecl-sphinx.x86_64时的依赖冲突问题

如何解决在php56w上安装php-pecl-sphinx.x86_64时的依赖冲突问题,php,dependencies,sphinx,Php,Dependencies,Sphinx,我已经使用WebStatic存储库安装了php56w 但当我试图在linux系统上安装可用的php-pecl-sphinx.x86_64包时 Linux production 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Sep 22 19:06:58 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 我遇到了这样的依赖冲突错误 重要行: Error: php56w-common conflicts with php-common-5.

我已经使用WebStatic存储库安装了php56w

但当我试图在linux系统上安装可用的php-pecl-sphinx.x86_64包时

Linux production 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Sep 22 19:06:58 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
我遇到了这样的依赖冲突错误

重要行:

Error: php56w-common conflicts with php-common-5.4.16-23.el7_0.3.x86_64
[root@production basesite]# yum install php-pecl-sphinx.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.1000mbps.com
 * epel: mirror.nl.leaseweb.net
 * extras: mirror.netrouting.net
 * updates: mirror.netrouting.net
 * webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-sphinx.x86_64 0:1.3.2-1.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: libsphinxclient-0.0.1.so()(64bit) for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Running transaction check
---> Package libsphinxclient.x86_64 0:2.1.5-1.el7 will be installed
---> Package php-common.x86_64 0:5.4.16-23.el7_0.3 will be installed
--> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-23.el7_0.3.x86_64
---> Package php-pear.noarch 1:1.9.4-21.el7 will be installed
--> Processing Dependency: php-xml for package: 1:php-pear-1.9.4-21.el7.noarch
--> Processing Dependency: php-posix for package: 1:php-pear-1.9.4-21.el7.noarch
--> Running transaction check
---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
---> Package php56w-process.x86_64 0:5.6.8-1.w7 will be installed
---> Package php56w-xml.x86_64 0:5.6.8-1.w7 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Running transaction check
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
--> Processing Conflict: php56w-common-5.6.8-1.w7.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.16-23.el7_0.3.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
更多详细信息:

Error: php56w-common conflicts with php-common-5.4.16-23.el7_0.3.x86_64
[root@production basesite]# yum install php-pecl-sphinx.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.1000mbps.com
 * epel: mirror.nl.leaseweb.net
 * extras: mirror.netrouting.net
 * updates: mirror.netrouting.net
 * webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-sphinx.x86_64 0:1.3.2-1.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Processing Dependency: libsphinxclient-0.0.1.so()(64bit) for package: php-pecl-sphinx-1.3.2-1.el7.x86_64
--> Running transaction check
---> Package libsphinxclient.x86_64 0:2.1.5-1.el7 will be installed
---> Package php-common.x86_64 0:5.4.16-23.el7_0.3 will be installed
--> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-23.el7_0.3.x86_64
---> Package php-pear.noarch 1:1.9.4-21.el7 will be installed
--> Processing Dependency: php-xml for package: 1:php-pear-1.9.4-21.el7.noarch
--> Processing Dependency: php-posix for package: 1:php-pear-1.9.4-21.el7.noarch
--> Running transaction check
---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
---> Package php56w-process.x86_64 0:5.6.8-1.w7 will be installed
---> Package php56w-xml.x86_64 0:5.6.8-1.w7 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php56w-xml-5.6.8-1.w7.x86_64
--> Running transaction check
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
--> Processing Conflict: php56w-common-5.6.8-1.w7.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.16-23.el7_0.3.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
仅用于安装PECL sphinx

我试着通过

yum search php56w | grep sphinx
但是没有找到任何包裹


那么,如何在php56w上安装PECL SPHINX?

您必须安装与php53兼容的SPHINX,您可以试用以下支持php53的RPM

t在下载链接,然后尝试以下操作

yum install php53-pecl-sphinx-1.3.0-2.1.x86_64.rpm
#rpm-Uvh检索警告:/var/tmp/rpm-tmp.bany7Q:Header V3 DSA/SHA1签名,密钥ID 17197535:NOKEY错误:失败的依赖项:php53-pecl-sphinx-1.3.0-2.1需要php(zend-abi)=20090626 php53-pecl-sphinx-1.3.0-2.1.x86\u 64需要php(api)=20090626