1

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?

Abraham Vegh
  • 1,045
  • 5
  • 17
  • 26
  • This question appears to be off-topic because it is about [`working with a service provider's management interface, such as cPanel`](http://serverfault.com/help/on-topic). – HopelessN00b Jan 14 '15 at 04:40

3 Answers3

1

The best solution seems to be the one provided here: http://www.atomicorp.com/wiki/index.php/PHP

  1. Add the Atomic repo:

    wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh

  2. yum upgrade

Check step about skip-bdb on http://www.atomicorp.com/wiki/index.php/Mysql

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

Bart De Vos
  • 17,911
  • 6
  • 63
  • 82
Abraham Vegh
  • 1,045
  • 5
  • 17
  • 26
1

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.

0

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.

Nikola
  • 847
  • 4
  • 13
  • 22