Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to update the servers PHP version, but when I try to remove the old php to install the new PHP 5.4 via yum it wants to remove the whole plesk suite which I want to keep.

I followed this guide http://serverfault.com/a/461418/155005 but it didn't changed anything.

Is there a way to keep plesk and update php?

Update: If I want to install the php 5.4 and then remove php 5.3, there is a conflict shown between the two php-common packages.

share|improve this question
It is also possible to install multiple php-versions. You can also install PHP 5.4 or PHP 5.5 and select the version in Plesk. der-linux-admin.de/2014/12/… –  Carsten Freund Dec 6 at 21:25

3 Answers 3

up vote 2 down vote accepted

Don't remove the old packages before installing the new packages. There's no need to do so.

share|improve this answer
Well, if I want to install php 5.4 there is a conflict between the two php-common packages –  Johannes Klauß Mar 5 '13 at 10:09
Did you run yum update? –  Michael Hampton Mar 5 '13 at 10:17
When I run yum update it prints No Packages marked for Update –  Johannes Klauß Mar 5 '13 at 10:21
If that's the case, then you did not follow the guide given in the post you linked to. Please edit your question and specify exactly what you did. –  Michael Hampton Mar 5 '13 at 10:27
Worked. I had a typo... Thanks for your help! –  Johannes Klauß Mar 5 '13 at 10:39

You can`t update PHP from 5.3 to 5.4 using yum because Plesk panel does not allow it. You can run Plesk installer and select update to version 5.4 if it available in Plesk installer menu.

share|improve this answer

In my case I did this:

rpm -e --nodeps psa-php5-configurator
yum remove php-common
yum install php54w php54w-common php54w-devel php54w-fpm php54w-gd php54w-pdo php54w-pgsql php54w-pecl-memcache php54w-mcrypt php54w-mbstring php54w-xml -y

Maybe this will help someone

share|improve this answer
Don't use --nodeps or similar unless you know exactly what you are doing. It almost guarantees an inconsistent system. –  vonbrand Mar 7 '13 at 11:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.