How to Restart PHP-FPM Updated on November 19, 2021 by InMotion Hosting Contributor 0 Minutes, 52 Seconds to Read In this article we’re covering how to restart the PHP-FPM (PHP-FastCGI Process Manager) service to clear the VPS cache. After enabling PHP-FPM in WHM, you may need to restart the service after a server-wide error resulting in websites showing 500 Internal Server Error or PHP version changes. There are two possible methods: WHM SSH WHM Log into WHM as root. Search “PHP-FPM” and select PHP-FPM service for Apache. Select Yes to restart the PHP-FPM service. Check the updated website. SSH Ensure you have root access enabled in AMP. SSH into your server as root. Type the command /scripts/restartsrv_apache_php_fpm to restart PHP-FPM. The results should mirror below: Check the updated website. You should be able to see the updated website after clearing your browser cache or using a private window. If installed, you may also want to clear the Nginx cache using cPanel Cache Manager or SSH command service nginx restart or systemctl restart nginx You can read more detailed information in our in-depth PHP-FPM article and comparison between it and SuPHP. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How to Enable PHP-FPM Using WHM PHP-FPM: The Future of PHP Handling PHP-FPM Settings for Better Optimization How to Restart PHP-FPM suPHP vs. PHP-FPM Fix the PHP-FPM Server Reached Max_children Error