From d6fb0208f8f0fdff778000351cc89c6d1f14b5fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Z=C3=B6llner?= Date: Tue, 15 Dec 2020 06:31:14 +0100 Subject: [PATCH] php7.4 for Ubuntu 20.04 --- ubuntu/resources/nginx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ubuntu/resources/nginx.sh b/ubuntu/resources/nginx.sh index debca3e..e4ca4ca 100755 --- a/ubuntu/resources/nginx.sh +++ b/ubuntu/resources/nginx.sh @@ -38,6 +38,9 @@ fi if [ ."$php_version" = ."7.2" ]; then sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php7.2-fpm.sock;#g' fi +if [ ."$php_version" = ."7.4" ]; then + sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php7.4-fpm.sock;#g' +fi ln -s /etc/nginx/sites-available/fusionpbx /etc/nginx/sites-enabled/fusionpbx #self signed certificate