Let's isntall PHP 7 to CentOS by yum.
This is a CentOS 6.7.
# cat /etc/redhat-release CentOS release 6.7 (Final)Install remi repo, some librarys and PHP 7 with some extensions.
# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm # yum install libxslt libxslt-devel postgresql-devel httpd-devel autoconf automake gd-devel # yum install --disablerepo=base,updates --enablerepo=remi --enablerepo=remi-php70 php php-common php-mbstring php-pdo php-cli php-devel php-fpm php-mysqlnd php-gd php-bcmath php-pecl-geoip php-pgsql php-pecl-memcached php-pecl-uuid php-pear php-opcacheShow version of PHP. It's PHP 7.
# php -v PHP 7.0.0 (cli) (built: Dec 5 2015 07:17:51) ( NTS ) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend TechnologiesFine! That's it.
Top image from Ian Muttoo yum yum too