All the php packages are built from the same src rpm so they should be the same version... maybe you have an extra version floating around:
can you do a 'which php' and compare it with -
Code:
$ rpm -ql php-cli
/usr/bin/phar
/usr/bin/phar.phar
/usr/bin/php
/usr/bin/php-cgi
/usr/share/doc/php-cli-5.3.1
/usr/share/doc/php-cli-5.3.1/README
/usr/share/doc/php-cli-5.3.1/README.FastCGI
/usr/share/man/man1/php.1.gz
If it matches the correct location according to the rpm, then please verify the rpm to see if any files have been modified:
cheers