Skip to content

Commit ae4994c

Browse files
author
Serghey Rodin
committed
php on ubuntu 16.04
1 parent b7cc950 commit ae4994c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bin/v-delete-web-domain-backend

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ fi
4444
if [ -d "/etc/php5/fpm/pool.d" ]; then
4545
pool="/etc/php5/fpm/pool.d"
4646
fi
47+
if [ -d "/etc/php/fpm/pool.d" ]; then
48+
pool="/etc/php/fpm/pool.d"
49+
fi
4750
if [ ! -e "$pool" ]; then
4851
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
4952
if [ ! -e "$pool" ]; then

func/domain.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ prepare_web_backend() {
9090
if [ -d "/etc/php5/fpm/pool.d" ]; then
9191
pool="/etc/php5/fpm/pool.d"
9292
fi
93+
if [ -d "/etc/php/fpm/pool.d" ]; then
94+
pool="/etc/php/fpm/pool.d"
95+
fi
9396
if [ ! -e "$pool" ]; then
9497
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
9598
if [ ! -e "$pool" ]; then

0 commit comments

Comments
 (0)