Failed to start The PHP 7.0 FastCGI Process Manager

In my case, previous php7.2-fpm configuration cause problem:

so i deleted directory, and reinstall solve the problem.

(if this is not first time, then backup below php fpm configuration)

sudo rm -rf /etc/php/7.2/fpm/

You probably must do this

apt-get install --reinstall php
systemctl start php7.0-fpm
systemctl enable php7.0-fpm
systemctl restart apache2

for me it works.

root@micro:~# systemctl status php7.0-fpm.service
? php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-11-27 06:46:40 CET; 1 weeks 1 days ago
     Docs: man:php-fpm7.0(8)
 Main PID: 508 (php-fpm7.0)
   Status: "Processes active: 0, idle: 2, Requests: 5736, slow: 0, Traffic: 0req/sec"
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/php7.0-fpm.service
           tq508 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
           tq755 php-fpm: pool www
           mq756 php-fpm: pool www

Tags:

Php

Ubuntu