php-fpm pool doesn't exist - php7.0-fpm
Posted: Mon Apr 01, 2019 1:21 pm
Operating System (OS/VERSION):
Debian 8
VestaCP Version:
R17 - Fresh Install
Installed Software (what you got with the installer):
php-fpm, nginx, mysql
Steps to Reproduce:
I've installed PHP-7.0-fpm, everything is going great, I've created the templates, updated vesta.conf with the new backend name, all good. I can stop / start / restart the service.
When I create the domain name I get the error message:
"php-fpm pool doesn't exist"
Looking at the domain.sh line 87 I see:
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
check_result $E_NOTEXIST "php-fpm pool doesn't exist"
fi
Running $(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \)) on my system I get bash: /etc/php/7.0/fpm/pool.d: Is a directory
Any idea why Vesta cannot find the pool?
Running service php7.0-fpm status shows everything is working fine.
Edit: I also updated: /usr/local/vesta/data/templates/web/php7.0-fpm/socket.tpl
From /var/run/php5-%backend%.sock to /var/run/php/php7.0-%backend%.sock
Thanks.
Mateo founder of Beta Calendars
Debian 8
VestaCP Version:
R17 - Fresh Install
Installed Software (what you got with the installer):
php-fpm, nginx, mysql
Steps to Reproduce:
I've installed PHP-7.0-fpm, everything is going great, I've created the templates, updated vesta.conf with the new backend name, all good. I can stop / start / restart the service.
When I create the domain name I get the error message:
"php-fpm pool doesn't exist"
Looking at the domain.sh line 87 I see:
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
check_result $E_NOTEXIST "php-fpm pool doesn't exist"
fi
Running $(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \)) on my system I get bash: /etc/php/7.0/fpm/pool.d: Is a directory
Any idea why Vesta cannot find the pool?
Running service php7.0-fpm status shows everything is working fine.
Edit: I also updated: /usr/local/vesta/data/templates/web/php7.0-fpm/socket.tpl
From /var/run/php5-%backend%.sock to /var/run/php/php7.0-%backend%.sock
Thanks.
Mateo founder of Beta Calendars