Cent OS, unlike Ubuntu, has a set of officially recommended repositories.
So, be sure to deploy the packages for the shared libraries from My SQL on those systems.
You can do this by adding the My SQL Yum repository to the systems (see Adding the My SQL Yum Repository) and install the latest shared libraries using the instructions given in Installing Additional My SQL Products and Components with Yum.
PHP 5.6.4 (cli) (built: Dec 20 2014 ) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies .
The fourth step will enable the correct repository to update the already installed PHP version to 5.6.
To do so, the just installed “yum-config-manager” (via yum-utils) is used to enable the “remi-php56” repository.