Error: php53-common conflicts with php-common
Dear friends.
I have installed php 5.3.6-4 on centOS 5.6. When i try to install some modules of php then it gives an error php53-common-5.3.3-1.el5_6.1.i386 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. I have reinstall it twice but each time i get same error. Any help will be appreciable. Regards, Shahnawaz Uqaili |
Did you try the suggested commands?
Try running: Code:
package-cleanup --problems Code:
package-cleanup --dupes |
Thanks for quick response Andrew. I got this output
[root@server ~]# package-cleanup --cgi -bash: package-cleanup: command not found [root@server ~]# package-cleanup --dupes -bash: package-cleanup: command not found |
It doesn't look like you have the package.
Code:
yum install yum-utils |
Instaqlled yum utils successfully
Installed: yum-utils.noarch 0:1.1.16-14.el5.centos.1 But still same error on installing php modules like php-cgi, ctype, curl etc. NOTE: I'm doing all this with remi repository because it has the latest php. |
I found a bug on centOS 5.6
There is always conflict in php53-common and php-common. You can check this http://bugs.centos.org/view.php?id=4852 Can any one have the alternate solution for this? |
I'm faced with the same problem - I just tried --skip-broken
I'm getting to load my php application later today and we'll see if it works. jeff |
Facing the same problem when i am going to instal yum install php-curl
Quote:
|
solving the php conflict
To solve the conflict, remove all php packages (php-common, php-mysql, php-xml, etc) and replace them with their php53 equivalent, i.e. php-common -> php53-common and so on. I also had to reinstall mysql. Don't forget to restart Apache to load the newly installed extensions.
|
Additional information:
php-curl, php-json and a few others have no php53 equivalents. They have been removed from the repo and replaced with dummy dependency packages that pull in php53-common because these popular extensions are now part of every php install with version 5.3. Therefore you will find that these packages cannot be installed even after upgrading to php 5.3. This is a nonissue, they are not required and these extensions are already present, don't install those packages anymore. |
php53-devel
I ran into this same problem trying to run:
# yum -y install php-devel Resolved it by runing: # yum -y install php53-devel |
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 At last I restarted the apache and it works for me. |
i uninstalled php-5.1 and trying to install php53 but still it error
php53-common conflicts with php-common.. and cannot install yum install yum-plugin-replace No package yum-plugin-replace available. |
All times are GMT -5. The time now is 10:55 AM. |