PHP Not Upgrading

Hi,

I am unable to upgrage php. getting this message for multiple versions of php:

Sep 28 06:01:51 ns1-nagione-com systemd[1]: Starting The PHP 7.0 FastCGI Process Manager…
Sep 28 06:01:51 ns1-nagione-com php-fpm7.0[103256]: [28-Sep-2023 06:01:51] WARNING: Nothing matches the include pattern ‘/etc/php/7.0/fpm/pool.d/*.conf’ from /etc/php/7.0/fpm/php-fpm.conf at line 125.
Sep 28 06:01:51 ns1-nagione-com php-fpm7.0[103256]: [28-Sep-2023 06:01:51] ERROR: No pool defined. at least one pool section must be specified in config file
Sep 28 06:01:51 ns1-nagione-com php-fpm7.0[103256]: [28-Sep-2023 06:01:51] ERROR: failed to post process the configuration
Sep 28 06:01:51 ns1-nagione-com php-fpm7.0[103256]: [28-Sep-2023 06:01:51] ERROR: FPM initialization failed
Sep 28 06:01:51 ns1-nagione-com systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/CONFIG
Sep 28 06:01:51 ns1-nagione-com systemd[1]: php7.0-fpm.service: Failed with result ‘exit-code’.
Sep 28 06:01:51 ns1-nagione-com systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
dpkg: error processing package php7.0-fpm (–configure):
installed php7.0-fpm package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
.

This is happening both

  1. as root apt-get update && apt-get upgrade command
  2. upgrade script running of updating cyberpanel

Anybody knows why is this happening? And perhaps a solution for the same

Thanks

Also facing the

May i know the exact version you want to upgrade may be you need to install that

No particular version

I am just upgrading the server through “apt-get update && apt-get upgrade” command through ssh root

The problem still persists