Update php.sh

This commit is contained in:
FusionPBX
2019-02-13 23:00:25 -07:00
committed by GitHub
parent 169c1bd6af
commit f02120873a

View File

@@ -7,6 +7,17 @@ cd "$(dirname "$0")"
. ./config.sh
. ./colors.sh
#send a message
verbose "Install PHP and PHP-FPM"
#set the version of php
#yum-config-manager --enable remi-php70
#yum-config-manager --enable remi-php71
yum-config-manager --enable remi-php72
#install dependencies
yum -y install php-fpm php-gd php-pgsql php-odbc php-curl php-imap php-mcrypt php-opcache php-common php-pdo php-soap php-xml php-xmlrpc php-cli php-gd
#send a message
verbose "Configuring php/nginx/php-fpm and permissions"