If installing (manually) some other php version from Sury package for Nginx + fpm config multiple folders will be found using
pattern, thus the code/etc/php/*/fpm/pool.d
of
v-delete-web-domain-backend
and
prepare_web_backend() of domain.sh
like
Code: Select all
pool=$(find -L /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
echo "php-fpm pool doesn't exist"
fi
will occure. Any ideas how to install multiple FPM versions without Apache and not manually and not rewritng half of the panel code and web server configs?Error: php-fpm pool doesn't exist