mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
php location on ubuntu 16.04
This commit is contained in:
parent
ae4994cd61
commit
07321b2397
42 changed files with 5 additions and 5 deletions
|
@ -44,8 +44,8 @@ fi
|
|||
if [ -d "/etc/php5/fpm/pool.d" ]; then
|
||||
pool="/etc/php5/fpm/pool.d"
|
||||
fi
|
||||
if [ -d "/etc/php/fpm/pool.d" ]; then
|
||||
pool="/etc/php/fpm/pool.d"
|
||||
if [ -d "/etc/php/7.0/fpm/pool.d" ]; then
|
||||
pool="/etc/php/7.0/fpm/pool.d"
|
||||
fi
|
||||
if [ ! -e "$pool" ]; then
|
||||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||
|
|
|
@ -90,8 +90,8 @@ prepare_web_backend() {
|
|||
if [ -d "/etc/php5/fpm/pool.d" ]; then
|
||||
pool="/etc/php5/fpm/pool.d"
|
||||
fi
|
||||
if [ -d "/etc/php/fpm/pool.d" ]; then
|
||||
pool="/etc/php/fpm/pool.d"
|
||||
if [ -d "/etc/php/7.0/fpm/pool.d" ]; then
|
||||
pool="/etc/php/7.0/fpm/pool.d"
|
||||
fi
|
||||
if [ ! -e "$pool" ]; then
|
||||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[%backend%]
|
||||
listen = /var/run/php5-%backend%.sock
|
||||
listen = /var/run/php/php7.0-fpm.sock
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
|
||||
user = %user%
|
Loading…
Add table
Add a link
Reference in a new issue