<?php
phpinfo();
Save that in your Web root and browse to itLoaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cc.columbia.edu
* epel: mirror.symnds.com
* extras: reflector.westga.edu
* ius: mirror.symnds.com
* remi-safe: mirrors.mediatemple.net
* updates: ftp.osuosl.org
Installed Packages
php70u-common.x86_64 7.0.9-2.ius.centos7 @ius
php70u-gd.x86_64 7.0.9-2.ius.centos7 @ius
php70u-json.x86_64 7.0.9-2.ius.centos7 @ius
php70u-mbstring.x86_64 7.0.9-2.ius.centos7 @ius
php70u-mcrypt.x86_64 7.0.9-2.ius.centos7 @ius
php70u-mysqlnd.x86_64 7.0.9-2.ius.centos7 @ius
php70u-opcache.x86_64 7.0.9-2.ius.centos7 @ius
php70u-pdo.x86_64 7.0.9-2.ius.centos7 @ius
php70u-xml.x86_64 7.0.9-2.ius.centos7 @ius
[root@ip-172-31-13-72 httpd]# yum install php70-cli
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cc.columbia.edu
* epel: mirror.symnds.com
* extras: reflector.westga.edu
* ius: mirror.symnds.com
* remi-safe: mirrors.mediatemple.net
* updates: ftp.osuosl.org
No package php70-cli available.
Error: Nothing to do
[root@ip-172-31-13-72 httpd]# updatedb
[root@ip-172-31-13-72 httpd]# locate php | grep -P "/php$"
/usr/lib64/php
/usr/share/php
/var/lib/php
yum list installed php*
See if "php-cli" is installed.
If not, then
yum install php-cli