In this guide, we have explained how to enable or disable Apache suEXEC and suPHP.
Follow the steps:
- Log in to WHM.
- Click on the “Service Configuration” option.
- Select the “Configure PHP and suEXEC” sub-option.
- Now, if you wish to enable or disable “suEXEC”, follow the steps:
- a) Click on the “Apache suEXEC” drop-down menu and select the right option.
b) You may choose to “on or off”. - Click on the “Save New Configuration” button.
- 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.
- In this way, errors and security flaws can be detected before Apache uses this PHP configuration.
- 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.