diff --git a/centos/resources/php.sh b/centos/resources/php.sh index 5594269..cc887e0 100755 --- a/centos/resources/php.sh +++ b/centos/resources/php.sh @@ -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"