[root@kvm11 ~]# yum install php php-gd -y
[root@kvm11 ~]# php -v PHP 7.2.11 (cli) (built: Oct 9 2018 15:09:36) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
[root@kvm11 ~]# vim /etc/php.ini [root@kvm11 ~]# egrep '^(allow_url|display_errors)' /etc/php.ini display_errors = Off allow_url_fopen = On allow_url_include = On