As Al has already informed ... php does it's versioning by increasing the last digits .... .29 is higher than .6 and thus newer.
From your initial posting, didn't know you had other repos active ... should have known that ... but, guess my Vulcan Mind Meld a little off at that time.
Since you have remi, suggest erasing the webtatic repo files in /etc/yum.repos.d/ then.
So another yum mini-lesson is in order. ;)
yum repolist
will show active (those that are enabled) repos.
IF remi is active, do a yum search for php and notice the output ..... the far right column will tell you from what repo that version would be coming:
yum search php
To see if repos are enabled or disabled:
cd /etc/yum.repo.d/
fgrep 'enabled' *.repo
Wlll show all .repo files (for the different repos) and show also if enabled or not ... 0 meaning disabled and 1 being enabled.
You might have the remi repo's disabled. And the remi repo's are quite a bit like Webtatic in that their versions of php have names like php56 or php57 or php60 or php70
To find out .... think this will work:
yum --enablerepo=remi-* list php*
On a CentOS 5 server that has both remi and webtatic some of the output of above looks like:
[root@sos yum.repos.d]# yum --enablerepo=remi-* list php*
Loaded plugins: downloadonly, fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.pac-12.org
* extras: mirror.compevo.com
* remi-php55: repo1.dal.innoscale.net
* remi-php56: repo1.dal.innoscale.net
* remi-test: repo1.dal.innoscale.net
* updates: centos.vwtonline.net
* webtatic-el5: us-east.repo.webtatic.com
Installed Packages
php55w.x86_64 5.5.38-1.w5 installed
php55w-bcmath.x86_64 5.5.38-1.w5 installed
php55w-cli.x86_64 5.5.38-1.w5 installed
php55w-common.x86_64 5.5.38-1.w5 installed
list all the php55w-* version installed on the server am using.
Then it list other repo offerings after the label:
Available Packages
php.x86_64 5.6.29-1.el5.remi remi-php56
php-PHPParser.noarch 1.0.0-0.1.beta1.el5.remi
remi-test
php-alcaeus-mongo-php-adapter.noarch 1.0.5-1.el5.remi remi-test
php-aura-di.noarch 2.2.4-1.el5.remi remi-test
php-aura-router.noarch 2.3.0-1.el5.remi remi-test
php-aws-sdk3.noarch 3.18.36-1.el5.remi remi-test
php-bcmath.x86_64 5.6.29-1.el5.remi remi-php56
php-cli.x86_64 5.6.29-1.el5.remi remi-php56
php-common.x86_64 5.6.29-1.el5.remi remi-php56
php-dba.x86_64 5.6.29-1.el5.remi remi-php56
other stuff ....
so you can see from above, IF I wanted to use remi repo and get 5.6.29 for EL5/CentoOS5 I could (with a little work).
To learn more about yum:
https://www.centos.org/docs/5/html/yum/link above says version 5. CentOS decided, rather than reinventing wheel, to use or refer to official RHEL docs so this might have some differences:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-yum.html'spirit of sharing', Ken