Update php.sh
This commit is contained in:
parent
169c1bd6af
commit
f02120873a
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue