Monit for PHP7

Trying to get monit working for PHP7 but getting a connection error. Here is the config file:

check process php7.0-fpm with pidfile /run/php/php7.0-fpm.pid

group phpcgi

start program = “/usr/sbin/service php7.0-fpm start”

stop program = “/usr/sbin/service php7.0-fpm stop”

if failed unixsocket /run/php/php7.0-fpm.sock then restart

if 3 restarts within 5 cycles then timeout

Anybody have any ideas? I tried changing the pid file location to: /var/run/php/php7.0-fpm.pid but that didn’t seem to do the job…

HI, restart PHP7 works for me.