php location on ubuntu 16.04

This commit is contained in:
Serghey Rodin 2016-11-22 22:20:05 +02:00
commit 07321b2397
42 changed files with 5 additions and 5 deletions

View file

@ -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" \))