First, please know that I have searched the forums before asking for help.
I have reinstalled Virtuozzo 3 (because I refuse to pay by the month for Virtuozzo 4) and installed Plesk 10 for Linux using the web interface rather than ez-templates. The base OS is CentOS 4.8 64-bit but the container CentOS 5.5 (Final) 64-bit. I tried to update PHP and mySQL by first installing the atomic yum installer. It failed:
Configuring the [atomic] yum archive for this system
Installing the Atomic GPG key: OK
Yum was not detected. Attempting to resolve..
warning: m2crypto-0.16-6.el5.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
warning: package rpm-python = 4.4.2-37.el5 was already added, replacing with rpm-python >= 4.4.2-47.el5
error: Failed dependencies:
libbeecrypt.so.6()(64bit) is needed by rpm-python-4.4.2-47.el5.x86_64
rpm = 4.4.2-47.el5 is needed by rpm-python-4.4.2-47.el5.x86_64
Downloading atomic-release-1.0-13.el5.art.noarch.rpm: OK
so I exited the container and used
vzpkg install -p 277 yum
This put yum in the container. I then reran the atomic installer and it completed without errors.
Next, I attempted to upgrade PHP and got PHP 5.3.5, but also new errors:
-bash-3.2# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/sqlite3.so' - /usr/lib64/php/modules/sqlite3.so: undefined symbol: sqlite3_clear_bindings in Unknown on line 0
PHP Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.5 (cli) (built: Jan 15 2011 19:02:42)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd.
I am also unable to login to mysql using user admin or user root. Checking further shows that mysqld won't start and Plesk 10.1.1 won't start either.
Phew. What a hassle.
Making matters worse is that Parallels releases Plesk 10.x and installs PHP 5.1.2, but most applications require PHP 5.2.x or greater.