aaronadams
New Pleskian
Well, that was a harrowing evening.
Two days ago, I needed to ditch the ancient version of PHP provided by CentOS 5.9. I decided to add the IUS repository and install the latest version of PHP 5.3.
I replaced the php53 package provided by CentOS with the php53u package provided by IUS. It worked perfectly; websites were still working, Plesk was still working, and PHP was correctly reporting its new version number.
Today, I got an email that my sites were all down. Sure enough, they were – and imagine my surprise when I discovered Plesk was missing! Completely and totally uninstalled.
I reinstalled Plesk, and then re-updated PHP – and everything is now working again.
PHP is definitely updated:
I've verified the dependencies in my RPM database:
I've asked yum if any upgrades are available:
I've even verified the dependency chain manually, and sure enough, plesk-core can use php53u:
So, how and why did Plesk become uninstalled in the first place; and how do I prevent it from happening again?
Two days ago, I needed to ditch the ancient version of PHP provided by CentOS 5.9. I decided to add the IUS repository and install the latest version of PHP 5.3.
I replaced the php53 package provided by CentOS with the php53u package provided by IUS. It worked perfectly; websites were still working, Plesk was still working, and PHP was correctly reporting its new version number.
Today, I got an email that my sites were all down. Sure enough, they were – and imagine my surprise when I discovered Plesk was missing! Completely and totally uninstalled.
I reinstalled Plesk, and then re-updated PHP – and everything is now working again.
PHP is definitely updated:
Code:
$ php -v
PHP 5.3.21 (cli) (built: Jan 17 2013 12:33:50)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v4.0.14, Copyright (c) 2002-2011, by ionCube Ltd.
$
I've verified the dependencies in my RPM database:
Code:
$ rpm -Va --nofiles
$
I've asked yum if any upgrades are available:
Code:
$ yum upgrade
Loaded plugins: downloadonly, fastestmirror, priorities, replace
Loading mirror speeds from cached hostfile
* base: mirror.flhsi.com
* epel: mirror.hiwaay.net
* extras: mirror.ash.fastserv.com
* ius: mirror.rackspace.com
* updates: mirror.wiredtree.com
Setting up Upgrade Process
No Packages marked for Update
$
I've even verified the dependency chain manually, and sure enough, plesk-core can use php53u:
Code:
$ rpm -q plesk-core --requires | grep php
psa-php-configurator >= 1.6.2
$ rpm -q --whatprovides psa-php-configurator
psa-php53-configurator-1.6.2-cos5.build110120608.16
$ rpm -q psa-php53-configurator --requires | grep php
psa11-php-fakepackage
php5-ioncube-loader >= 4.0.14
php53
php53-gd
php53-imap
php53-mbstring
php53-mysql
php53-xml
php53-cli
php53-pdo
php53-sqlite2
$ rpm -q --whatprovides php53
php53u-5.3.21-1.ius.el5
$
So, how and why did Plesk become uninstalled in the first place; and how do I prevent it from happening again?