diff --git a/debian/resources/upgrade/php.sh b/debian/resources/upgrade/php.sh index 46da043..67f6fd5 100755 --- a/debian/resources/upgrade/php.sh +++ b/debian/resources/upgrade/php.sh @@ -22,7 +22,7 @@ apt-get update apt-get install -y php7.1 php7.1-cli php7.1-fpm php7.1-pgsql php7.1-sqlite3 php7.1-odbc php7.1-curl php7.1-imap php7.1-mcrypt php7.1-xml php7.1-gd php7.1-ldap #update the unix socket name -sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php${php_version}-fpm.sock;#g' +sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php7.1-fpm.sock;#g' #restart nginx service nginx restart