错误:php55w-common与CentOS 6.5上的php-common冲突


Error: php55w-common conflicts with php-common on CentOS 6.5

我已经安装了一个新的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

我刚刚找到了解决我的问题的方法!

使用以下命令安装php-soap:

yum install php55w-soap

希望这对你有帮助!

我已经在我的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

我使用以下命令来解决相同的问题: yum remove php* yum install php55w-soap

yum -y install php55w php55w-fpm php55w-soap php55w-opcache php55w-xml php55w-mcrypt php55w-gd php55w-devel php55w-mysql php55w-intl php55w-mbstring php55w-bcmath