Force PHP Restart

To restart PHP for a specific site, toggle the PHP version temporarily. This ensures that all current PHP processes terminate and php-fpm restarts.


Steps to Force a PHP Restart

  1. Access Website Management

    • Locate the website in the control panel.
    • Click Manage.
  2. Open Developer Tools

    • On the website dashboard, select the Advanced menu.
    • Click Developer Tools.
  3. Change PHP Version

    • Under PHP Engine, change the PHP version to a different one.
    • Wait for the process to complete.
  4. Revert PHP Version

    • Set the PHP version back to the original one.

Outcome

This process will close all current PHP processes and restart php-fpm for the site.

Was this answer helpful? 0 Users Found This Useful (0 Votes)