How to use EasyApache 4 to Install suPHP with mod-suPHP

April 14, 2023 / How-to Guide

This article explains how to use EasyApache4 to install suPHP with mod-suPHP. SuPHP is a utility for running PHP programmes with the owner’s permissions. It comprises of a setuid root binary (suphp) that is called by the Apache module (mod suphp), which mod suphp is, to modify the uid of the process that is running the PHP interpreter.

Let us follow the steps to install:

  1. Log in to WHM.
  2. Search for the “EasyApache4” sub-option under the “Software” category and click on it.
  3. Select “Customize” under the “Currently Installed Packages” tab.
  4. Select the version of Apache and PHP you want to install, and click “Next.”
  5. Under the “Apache Modules” tab, search for “suPHP” and select it.
  6. Under the “PHP Extensions” tab, search for “mod_suphp” and select it.
    php extensions
  7. Click “Review” and then “Provision” to install the selected packages.
  8. You will get a message that the provision process has been completed.
  9. Once the Provision process is over, click on the “Done” button.

That is it! You should now have suPHP installed with mod_suPHP on your server.

Dominos Search