InMotion Hosting Support Center

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:


  1. Log into WHM as root.
  2. Search "PHP-FPM" and select PHP-FPM service for Apache.
    Screenshot in WHM selecting PHP-FPM service for Apache
  3. Select Yes to restart the PHP-FPM service.
    Screenshot in WHM selecting Yes to restart PHP-FPM service
  4. Check the updated website.


  1. Ensure you have root access enabled in AMP.
  2. SSH into your server as root.
  3. Type the command /scripts/restartsrv_apache_php_fpm to restart PHP-FPM. The results should mirror below:
    Screenshot in SSH completing PHP-FPM restart command resulting in 'Service Status' in bold and 'apache_php_fpm restarted' in green text
  4. 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.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!