Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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

closed as off-topic by HopelessN00b Feb 26 '15 at 10:20

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the 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.… – user257468 Dec 6 '14 at 21:25
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.

You can also install multiple custom configured PHP versions in Plesk 12 Oding

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

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