To upgrade to PHP & Mysql on plesk 10

To upgrade to PHP & Mysql on plesk 10

To Upgrade to Mysql 5.1 on plesk 10

Steps 3 and 4 only apply if you are upgrading from MySQL 5.0.x

Step 1) Set up the atomic channel:
wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Step 2) Upgrade to Mysql 5.1
yum upgrade mysql

Step 3) MySQL 5.1 removed the BERKLEY storage engine. Since it was not commonly used, to save resources it was recommended this be turned off. You must comment the following out or remove it from /etc/my.cnf or MySQL 5.1 will not start!
skip-bdb

Step 4) Update your MySQL tables
mysql_upgrade -u admin -p

Step 5) Restart mysql
/etc/init.d/mysqld restart

To upgrade to PHP 5.3.x on plesk 10:

Plesk doesn’t ship client’s PHP, it only downloads it from original OS vendor repo and it is quite likely it may be outdated there (especially for older OS). If your OS comes with PHP 5.3, then Plesk would run PHP 5.3 for clients. When you upgrade mysql  php has to be updated automatically, but in case..

Step 1) Set up the atomic channel:
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh

Step 2) Upgrade to PHP 5.3.x:
yum upgrade

Step 3) Replace the PHP 4 php.ini with PHP 5.3.x’s (if applicable):
mv /etc/php.ini.rpmnew /etc/php.ini

Step 4) Replace the php.conf with the PHP 5.3.x php.conf (if applicable):
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

Step 5) Restart the webserver
service httpd restart
(or)
/etc/init.d/httpd restart

Checklist

  1. Source code installations of extensions, like Ioncube loader, or other extensions that have to be updated.
  2. php.ini settings, like memory_limit