Iniciar o php-fpm no CentOS / RHEL 7
$ sudo systemctl start php-fpm
Parar php-fpm CentOS / RHEL 7
$ sudo systemctl stop php-fpm
Recarregar php-fpm CentOS / RHEL 7
$ sudo systemctl reload php-fpm
Reiniciar php-fpm CentOS / RHEL 7
$ sudo systemctl restart php-fpm
Iniciar / parar / reiniciar / recarregar php-fpm no CentOS / RHEL 6.x ou mais antigo
Digite o seguinte comando:
Como iniciar / parar / reiniciar / recarregar php5-fpm (php versão 5.x) no Ubuntu / Debian Linux
$ sudo service php5-fpm start
$ sudo service php5-fpm stop
OU se você estiver usando uma distribuição baseada em systemd, como Ubuntu Linux 16.04+ LTS ou Debian Linux 8.x +:
$ sudo systemctl start php7.0-fpm.service
$ sudo systemctl stop php5-fpm.service
Como iniciar / parar / reiniciar / recarregar php7.0-fpm (php versão 7.x) no Ubuntu / Debian Linux
$ sudo service php7.0-fpmstart
$ sudo service php7.0-fpm stop
OU se você estiver usando uma distribuição baseada em systemd, como Ubuntu Linux 16.04+ LTS ou Debian Linux 8.x +:
$ sudo systemctl start php7.0-fpm.service
$ sudo systemctl stop php7.0-fpm.service