PHP UPGRADE IN PLESK


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

accept the default configuration….

yum remove php-sqlite2
yum install -y php-xml nano
yum update -y php* mysql*
mv /etc/php.ini.rpmnew /etc/php.ini
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf
rm -rf /etc/php.d/ioncube-loader.ini
mysql_fix_privilege_tables –user=admin –password=`cat /etc/psa/.psa.shadow`
/etc/init.d/httpd restart
php -v

Advertisements
Published in: on February 7, 2010 at 11:58 pm  Comments Off on PHP UPGRADE IN PLESK  
%d bloggers like this: