PHP 7.x FPM Update ERROR

Post Reply
ikheetjeff
Posts: 7
Joined: Tue Jul 20, 2021 4:06 am
PHP 7.x FPM Update ERROR

Post by ikheetjeff »

Hi,

After do an update and upgrade (apt-get update && apt-get upgrade -y), i see this:

Code: Select all

● php7.1-fpm.service - The PHP 7.1 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.1-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2021-08-21 01:02:09 CEST; 4min 48s ago
     Docs: man:php-fpm7.1(8)
  Process: 16282 ExecStart=/usr/sbin/php-fpm7.1 --nodaemonize --fpm-config /etc/php/7.1/fpm/php-fpm.conf (code=exited, status=78)
  Process: 16283 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.1/fpm/pool.d/www.conf 71 (code=exited, status=0/SUCCESS)
 Main PID: 16282 (code=exited, status=78)

Aug 21 01:02:08 <**MY HOSTNAME**> systemd[1]: Starting The PHP 7.1 FastCGI Process Manager...
Aug 21 01:02:09 <**MY HOSTNAME**> php-fpm7.1[16282]: [21-Aug-2021 01:02:09] WARNING: Nothing matches the include pattern '/etc/php/7.1/fpm/pool.d/*.conf' from /etc/php/7.1/fpm/php-fpm.conf at line 125.
Aug 21 01:02:09 <**MY HOSTNAME**> php-fpm7.1[16282]: [21-Aug-2021 01:02:09] ERROR: No pool defined. at least one pool section must be specified in config file
Aug 21 01:02:09 <**MY HOSTNAME**> php-fpm7.1[16282]: [21-Aug-2021 01:02:09] ERROR: failed to post process the configuration
Aug 21 01:02:09 <**MY HOSTNAME**> php-fpm7.1[16282]: [21-Aug-2021 01:02:09] ERROR: FPM initialization failed
Aug 21 01:02:09 <**MY HOSTNAME**> systemd[1]: php7.1-fpm.service: Main process exited, code=exited, status=78/CONFIG
Aug 21 01:02:09 <**MY HOSTNAME**> systemd[1]: php7.1-fpm.service: Failed with result 'exit-code'.
Aug 21 01:02:09 <**MY HOSTNAME**> systemd[1]: Failed to start The PHP 7.1 FastCGI Process Manager.
I can't find a solution. Can anyone help me?

Thank you in advance.

User avatar
dpeca
Site Admin
Posts: 550
Joined: Fri Jun 19, 2020 9:59 am
Your location: Serbia, Niš and Belgrade
First name and last name: Predrag Damnjanović
Re: PHP 7.1 Update ERROR

Post by dpeca »

Solution is the same as here: viewtopic.php?t=214

This is happening because none of domains/subdomains are using php 7.1

The easiest fix is: create random subdomain and put in to be on 7.1

Or:
Total disable php7.1:

Code: Select all

systemctl stop php7.1-fpm
systemctl disable php7.1-fpm

ikheetjeff
Posts: 7
Joined: Tue Jul 20, 2021 4:06 am
Re: PHP 7.x FPM Update ERROR

Post by ikheetjeff »

Thank you!


Post Reply