FusionPBX 6 rokov pred
rodič
commit
f02120873a
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  1. 11 0
      centos/resources/php.sh

+ 11 - 0
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"