Update php.sh
This commit is contained in:
parent
7f3a443831
commit
0dd0d5b341
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue