mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
php on ubuntu 16.04
This commit is contained in:
parent
b7cc9506cc
commit
ae4994cd61
2 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,9 @@ fi
|
||||||
if [ -d "/etc/php5/fpm/pool.d" ]; then
|
if [ -d "/etc/php5/fpm/pool.d" ]; then
|
||||||
pool="/etc/php5/fpm/pool.d"
|
pool="/etc/php5/fpm/pool.d"
|
||||||
fi
|
fi
|
||||||
|
if [ -d "/etc/php/fpm/pool.d" ]; then
|
||||||
|
pool="/etc/php/fpm/pool.d"
|
||||||
|
fi
|
||||||
if [ ! -e "$pool" ]; then
|
if [ ! -e "$pool" ]; then
|
||||||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||||
if [ ! -e "$pool" ]; then
|
if [ ! -e "$pool" ]; then
|
||||||
|
|
|
@ -90,6 +90,9 @@ prepare_web_backend() {
|
||||||
if [ -d "/etc/php5/fpm/pool.d" ]; then
|
if [ -d "/etc/php5/fpm/pool.d" ]; then
|
||||||
pool="/etc/php5/fpm/pool.d"
|
pool="/etc/php5/fpm/pool.d"
|
||||||
fi
|
fi
|
||||||
|
if [ -d "/etc/php/fpm/pool.d" ]; then
|
||||||
|
pool="/etc/php/fpm/pool.d"
|
||||||
|
fi
|
||||||
if [ ! -e "$pool" ]; then
|
if [ ! -e "$pool" ]; then
|
||||||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||||
if [ ! -e "$pool" ]; then
|
if [ ! -e "$pool" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue