Upgrading PHP:
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh yum update php

At this point I restart apache, which is usually: service httpd restart. I then verify that PHP is at version 5.2 with:
php -v