2

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 https://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.

2
2

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

4
  • Well, if I want to install php 5.4 there is a conflict between the two php-common packages Mar 5 '13 at 10:09
  • Did you run yum update? Mar 5 '13 at 10:17
  • When I run yum update it prints No Packages marked for Update 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. Mar 5 '13 at 10:27
1

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

0

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

1
  • 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.