forked from norman/fusionpbx-install.sh-github-mirror
Update php.sh
This commit is contained in:
2
debian/resources/upgrade/php.sh
vendored
2
debian/resources/upgrade/php.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user