Error: php-fpm pool doesn't exist php8.1

Hi
I am trying to use php8.1-fpm but I am receiving the error
v-change-web-domain-backend-tpl ‘teste’ 'teste.domain ‘PHP-8_1’ [Error 3]

php 8.0, 7.4 and others are OK.

are there some information about this?

thanks

Is php 8.1 installed?

v-add-web-php 8.1

yes… it’s all installed

/usr/bin/php8.1 -v

PHP 8.1.0 (cli) (built: Nov 25 2021 20:49:35) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
with Zend OPcache v8.1.0, Copyright (c), by Zend Technologies

systemctl status php8.1-fpm

● php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.1-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-12-20 10:13:45 -03; 50s ago
Docs: man:php-fpm8.1(8)
Process: 36904 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.1/fpm/pool.d/www.conf 81 (code=exited, status=0/SUCCESS)
Main PID: 36903 (php-fpm8.1)
Status: “Processes active: 0, idle: 0, Requests: 0, slow: 0, Traffic: 0req/sec”
Tasks: 1 (limit: 4915)
Memory: 15.0M
CGroup: /system.slice/php8.1-fpm.service
└─36903 php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf)

What do you see when run:
v-list-sys-php

VERSION

5.6
7.0
7.1
7.2
7.3
7.4
8.0
8.1

There error is created:

Are the checks\

Can you check if /etc/php/8.1/fpm/pool.d/exists?

solved doing these commands:

v-delete-web-php 8.1

rm -rf /etc/php/8.1/

v-add-web-php 8.1

apt -y install php8.1 php8.1-{sqlite3,mongodb,redis,fpm,cli,dev,snmp,ldap,curl,bz2,mysql,mbstring,xml,gd,common,bcmath,soap,zip,memcached,memcache,gmp,tidy,readline,opcache,xsl,intl}

1 Like