How to restart PHP-FPM on a WHM / cPanel managed server?

/scripts/restartsrv_apache_php_fpm

You can run it as root or any other user: I did not notice a difference.

forums.cpanel.net/threads/how-to-restart-php-fpm-using-ssh.596171/#post-2412423