Instalar php update a 5.2.x on plesk con yum

ll is going well on my new server at myhost.ie but I wanted the latest php version with soap and json and when I did yum update php it said all was up to date. I settled down for a long day sorting this out but it turned out to be this easy:

wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
yum update php
yum install php-soap
yum install php-json
/usr/local/psa/admin/sbin/websrvmng -a
/etc/init.d/httpd reload