Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We are running a few servers with Plesk 9.2. PHP is tightly integrated with Plesk, so I'm wary of updating it independently of Plesk.

The problem is that 9.2 ships with PHP 5.1, and I need 5.2.

What's the correct way to upgrade PHP on a Plesk system?

share|improve this question

closed as off-topic by HopelessN00b Jan 14 '15 at 4:40

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

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. – HopelessN00b Jan 14 '15 at 4:40

There are two instances of PHP associated with Plesk. One is for Plesk admin's interface and the other for vhosts. You can't upgrade the admin PHP because it is very tightly integrated with Plesk, but you can easily upgrade the vhost PHP with the usual OS upgrade utilities like yum, apt-get, up2date, etc.

share|improve this answer
up vote 1 down vote accepted

The best solution seems to be the one provided here:

  1. Add the Atomic repo:

    wget -q -O - | sh

  2. yum upgrade

Check step about skip-bdb on

You may have to run yum with the --nogpgcheck flag if it gives you problems with installing unsigned RPMs.

share|improve this answer

If your problem is maybe also that you don't have yum installed on your centos 5 - then visit openvz. This is no spam message - this was really the issue for me and I want to help anyone who'll have this problem.

share|improve this answer

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