Running transaction check ---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-gd.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-imap.x86_64 0:5.3.3-1.el5_6.1 set to be updated --> Processing Dependency: libc-client.so.1()(64bit) for package: php53-imap ---> Package php53-intl.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-mbstring.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-mysql.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-odbc.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-pdo.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-pspell.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-snmp.x86_64 0:5.3.3-1.el5_6.1 set to be updated --> Processing Dependency: net-snmp for package: php53-snmp ---> Package php53-xml.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-xmlrpc.x86_64 0:5.3.3-1.el5_6.1 set to be updated --> Running transaction check ---> Package libc-client.x86_64 0:2004g-2.2.1 set to be updated ---> Package net-snmp.x86_64 1:5.3.2.2-9.el5_5.1 set to be updated --> Processing Dependency: libsensors.so.3()(64bit) for package: net-snmp --> Running transaction check ---> Package lm_sensors.x86_64 0:2.10.7-9.el5 set to be updated --> Processing Conflict: php53-common conflicts php-common --> Finished Dependency Resolution php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems   --> php53-common conflicts with php-common Error: php53-common conflicts with php-common  You could try using --skip-broken to work around the problem  You could try running: package-cleanup --problems                         package-cleanup --dupes                         rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package. [root@server1 ~]#

-->

Comments on CentOS 5.6 - php53-common conflicts with php-common

Error: CentOS 5.6 - php53-common conflicts with php-common You have PHP 5.1.6 installed on CentOS 5.6 and want to update to PHP 5.3 like this: yum install php53 php53-cli php53-common php53-gd php53-imap php53-intl php53-mbstring php53-mysql php53-odbc php53-pdo php53-pspell php53-snmp php53-xml php53-xmlrpc The update aborts with the following error: [root@server1 ~]# yum install php53 php53-cli php53-common php53-gd php53-imap php53-intl php53-mbstring php53-mysql php53-odbc php53-pdo php53-pspell php53-snmp php53-xml php53-xmlrpc Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile  * base: centos.weepeetelecom.be  * extras: centos.weepeetelecom.be  * updates: ftp.belnet.be Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-gd.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-imap.x86_64 0:5.3.3-1.el5_6.1 set to be updated --> Processing Dependency: libc-client.so.1()(64bit) for package: php53-imap ---> Package php53-intl.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-mbstring.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-mysql.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-odbc.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-pdo.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-pspell.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-snmp.x86_64 0:5.3.3-1.el5_6.1 set to be updated --> Processing Dependency: net-snmp for package: php53-snmp ---> Package php53-xml.x86_64 0:5.3.3-1.el5_6.1 set to be updated ---> Package php53-xmlrpc.x86_64 0:5.3.3-1.el5_6.1 set to be updated --> Running transaction check ---> Package libc-client.x86_64 0:2004g-2.2.1 set to be updated ---> Package net-snmp.x86_64 1:5.3.2.2-9.el5_5.1 set to be updated --> Processing Dependency: libsensors.so.3()(64bit) for package: net-snmp --> Running transaction check ---> Package lm_sensors.x86_64 0:2.10.7-9.el5 set to be updated --> Processing Conflict: php53-common conflicts php-common --> Finished Dependency Resolution php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems   --> php53-common conflicts with php-common Error: php53-common conflicts with php-common  You could try using --skip-broken to work around the problem  You could try running: package-cleanup --problems                         package-cleanup --dupes                         rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package. [root@server1 ~]#

7 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

I was also facing same kind of problem, and I got the problem.

I have just checked that I have installed php through yum which has installed php5.1.6, because of which when I was trying to install php53-gd, it was conflicting with the php-common. I have checked with the below command for install php modules:
rpm -qa | grep -i php
and after that I have removed all the modules using yum remove, and then installed php53-gd, which worked like a charm for me.
below are the commands, I have used

rpm -qa | grep -i php
yum remove php
yum remove php-cli
yum remove php-pdo
yum remove php-common
yum install php53-gd

This installed gd.so in /usr/lib64/php/modules/gd.so, i have just modiflied the php.ini file with enabling gd by adding below line below the line : ;extension=php_gd2.dll

extension=/usr/lib64/php/modules/gd.so

Finally I restarted the apache and it works for me.

By: Alejandro El Salvador

Muchas gracias por el aporte me fue de mucha ayuda y me has salvador el pellejo esperando exitos en tu carrera gracias totales.

 

Thank you very much for the support really helped me and I have the skin savior waiting in your career hits total thanks.

 

 

By: Hmmm

I get this:

WARNING: Unable to resolve all providers: ['config(php-common)', 'dbase.so', 'php-dbase', 'php-mime_magic', 'config(php-pdo)', 'php-pcntl', 'config(php)', 'config(php-mysql)', 'config(php-mbstring)', 'config(php-gd)', 'config(php-ldap)', 'config(php-imap)']

I am on CentOS 5.9, 32-bit, running PHP 5.1.6 with all the current patches applied.
 
Thx. 

By: Anonymous

Thanks for the post!. Helped me a lot!

By: Anonymous

Thanks a lot for the great help.

 

By: Chris Worthington

AWESOME GUIDE! I kept struggling with this and your guide got me running.

The one difference was that php53 is php55w on my system, not u. 

By: Sean

Failed dependencies: epel-release = 5 is needed by ius-release-1.0-14.ius.el5.noarch

 package epel-release-6-8.noarch is installed

What IUS do I need?

Also: our problem is we run php-fpm55, but somehow php-common libraries are at 5.3: what to do? dont think I can just yum erase 5.3 and yum install 5.5 common