我已经安装了一个新的64位CentOS 6.5与PHP5,Mysql5.5等。
现在,当我想安装不同的apache模块时,比如php-soap,我收到了这个错误:
---> Package php-soap.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-soap-5.3.3-27.el6_5.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Conflict: php55w-common-5.5.12-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-27.el6_5.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我使用此命令安装php-soap:
yum --enablerepo = webtatic install php-soap
答案 0 :(得分:15)
我刚刚找到了解决问题的方法!
使用以下命令安装php-soap:
yum install php55w-soap
希望这有帮助!
答案 1 :(得分:0)
我在Centos上安装了postfix和dovecot。我正在使用需要php-imap模块的Interspire电子邮件营销商(IEM)。我安装了squirrelmail,可以发送邮件以及使用squirrelmail接口接收邮件。但是使用IEM我总是得到没有安装imap模块的错误,所以我尝试了以下操作并得到了以下错误。我完全糊涂了我应该做的事情。我想如果squirrelmail可以阅读邮件,IEM也应该能够阅读。如果我必须再次安装php-imap,如何解决以下所有错误。
yum install php-imap
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 4.4 kB 00:00
* base: centos.webwerks.com
* epel: mirror.premi.st
* extras: centos.webwerks.com
* updates: centos.webwerks.com
* webtatic: sp.repo.webtatic.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-imap-5.3.3-48.el6_8.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common < 5.5
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-48.el6_8.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案 2 :(得分:0)
我使用以下命令解决同样的问题:
yum remove php*
yum install php55w-soap
答案 3 :(得分:0)
yum -y安装php55w php55w-fpm php55w-soap php55w-opcache php55w-xml php55w-mcrypt php55w-gd php55w-devel php55w-mysql php55w-intl php55w-mbstring php55w-bcmath