【发布时间】:2015-05-08 00:01:09
【问题描述】:
我正在尝试在我的 Centos 6.6 上安装 php-soap。我正在运行 PHP 5.4.20。当我执行“yum install php-soap”时,出现此错误:
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.openitc.uk
* epel: epel.check-update.co.uk
* extras: centos.openitc.uk
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.openitc.uk
* webtatic: us-east.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-soap.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-soap-5.3.3-40.el6_6.x86_64
--> Finished Dependency Resolution
Error: Package: php-soap-5.3.3-40.el6_6.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-40.el6_6
Installed: php-common-5.4.20-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.20-1.el6.remi
Available: php-common-5.3.3-38.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-38.el6
Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
php-common(x86-64) = 5.3.3-40.el6_6
Available: php54w-common-5.4.36-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.36-1.w6
Available: php54w-common-5.4.37-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.37-1.w6
Available: php54w-common-5.4.38-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.38-1.w6
Available: php55w-common-5.5.20-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.20-1.w6
Available: php55w-common-5.5.21-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.21-1.w6
Available: php55w-common-5.5.22-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.22-1.w6
Available: php56w-common-5.6.4-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.4-1.w6
Available: php56w-common-5.6.5-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.5-1.w6
Available: php56w-common-5.6.6-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.6-1.w6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我该如何解决?我已经安装了这些 PHP 模块:
php-tcpdf-dejavu-sans-fonts-6.2.4-1.el6.noarch
newrelic-php5-4.18.0.89-1.x86_64
php-cli-5.4.20-1.el6.remi.x86_64
php-mcrypt-5.4.20-1.el6.remi.x86_64
php-gd-5.4.20-1.el6.remi.x86_64
phpMyAdmin-4.0.7-1.el6.remi.noarch
php-pear-1.9.4-4.el6.noarch
php-tcpdf-6.2.4-1.el6.noarch
php-common-5.4.20-1.el6.remi.x86_64
php-mbstring-5.4.20-1.el6.remi.x86_64
php-bcmath-5.4.20-1.el6.remi.x86_64
php-pdo-5.4.20-1.el6.remi.x86_64
php-pecl-memcache-3.0.8-1.el6.remi.x86_64
php-php-gettext-1.0.11-3.el6.noarch
newrelic-php5-common-4.18.0.89-1.noarch
php-xml-5.4.20-1.el6.remi.x86_64
php-mysql-5.4.20-1.el6.remi.x86_64
php-recode-5.4.20-1.el6.remi.x86_64
php-tidy-5.4.20-1.el6.remi.x86_64
php-5.4.20-1.el6.remi.x86_64
是否可以删除 PHP 5.4 并安装 PHP 5.3.3?我不确定我的网站是否可以运行 PHP 5.5。
感谢您的任何建议!
【问题讨论】:
-
谢谢,我想这会解决我的问题。你知道从 webtatic 安装 PHP 好不好?