How to Start, Restart, Stop and Reload PHP-FPM Service and Check service status and active PHP version on Ubuntu Linux Severs
Many web servers like Nginx, Apache and other, PHP-FPM is a FastCGI process manager for PHP. Sometimes we need to restart the server for various reasons: changing settings for example, and depending on what Linux we have on the server there are some variations in the commands used.
Use the following command for relevant tasks:
$ sudo systemctl start php7.4-fpm.service # start php-fpm
$ sudo systemctl stop php7.4-fpm.service # stop php-fpm