The latest major release of PHP version 7.0 has been released with lots of speed optimizations and security. So you should try this version for your development. This tutorial will help you to install PHP 7.0, & MySQL on CentOS | RedHat
|rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
|rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm|
$ sudo yum update
Install PHP 7 (along with an opcode cache)
$ sudo yum install php70w php70w-opcache
After successfully installation, lets begin installing Apache 2.4. , httpd should have installed as dependency with PHP 7 but if not you can run.
$ sudo yum install httpd
Use the following commands to install or upgrade MySQL and Dependencies on your system.
$ sudo yum install mysql-server