How to Enable or Disable Apache suEXEC and suPHP

December 20, 2022 / How-to Guide

In this guide, we have explained how to enable or disable Apache suEXEC and suPHP.

 

Follow the steps:

  1. Log in to WHM.
    Login to WHM
  2. Click on the “Service Configuration” option.
  3. Select the “Configure PHP and suEXEC” sub-option.
    Select the “Configure PHP and suEXEC”
  4. Now, if you wish to enable or disable “suEXEC”, follow the steps:
  5. a) Click on the “Apache suEXEC” drop-down menu and select the right option.
    b) You may choose to “on or off”.
  6. Click on the “Save New Configuration” button.
    Apache suEXEC
  7. The “Do a dryrun checkbox” at the bottom of the screen before clicking Save New Configuration will compile and display the PHP configuration file before you use it on your server.
  8. In this way, errors and security flaws can be detected before Apache uses this PHP configuration.
  9. The updated PHP settings can be applied to your configuration by clicking Apply Settings.

This way you can enable or disable Apache suEXEC and suPHP.

Dominos Search