Enable or Disable Apache suEXEC and suPHP

Enable or Disable Apache suEXEC and suPHP

Enable or Disable Apache suEXEC and suPHP

Most CGI software is run on the server as the user nobody. When you enable suEXEC, Apache can run CGI software as the user ID of the account owner rather than as the user nobody.

To enable follow these steps:
1. Login to WHM (https://your-ip-address:2087)

2. Select "Service Configuration" from the home screen

3. Select "Configure PHP and suEXEC"

4. To enable or disable suEXEC:

Use the Apache suEXEC pull-down menu to select the appropriate option.

You may choose on or off from the menu.

Click Save New Configuration.

When configuring these options you may use the "Do a dryrun checkbox" at the bottom of the screen before clicking Save New Configuration to simply compile and view the PHP configuration file before you use it on your server. 

This can be useful when checking for errors and security flaws before Apache uses this PHP configuration. 

You can click Apply Settings on the following page to apply the new settings to your PHP configuration.
    • Related Articles

    • Enable/disable reject all mail on a mailbox

      To enable or disable the "reject all mail" setting on mailboxes in hsphere (this is the solution to the '550 sorry, mail resource in discard mode' error) navigate to the hsphere control panel> mail info> "edit mailbox" for the desired account under ...
    • Enable Multisite for wordpress

      To enable multisite support in wordpress do the following steps:   (1)Go to hsphere user's home directory and find the related folder for wordpress in which wp-config.php file exists. (2)Edit wp-cofnig.php file and at end of file add below mentioned ...
    • Enable mod_expires in your hosting account

      Because we do not enable mod_expires at the global level, you need to enable it in your .htaccess file. You can enable it on a per-directory basis and it applies recursively. This example enables mod_expires for a set of common image types and CSS ...
    • enable cURL on WHM/cPanel using EasyApache

      How to enable cURL on WHM/cPanel using EasyApache Authorsupport support Article Reference NumberAA-05017 Views10659 How to enable cURL on WHM/cPanel using EasyApache Overview A command line tool for getting or sending files using URL syntax. To ...
    • Enable GZip compression using easyapache whm/cpanel

      GZIP You can easily speed up your WordPress, Joomla, Drupal install by enabling Gzip via EasyApache. EasyApache is an easy way to enable Gzip compression and will bring your PHP script loading times down.  Google Page Speed takes account of Gzip ...