How to Check and Set the PHP Handler After Installation

November 16, 2022 / Servers, Hosting & Email

In this article, we have explained how to check and set the PHP handler after installation. The PHP handler(s) for each PHP version can be verified once you have finished provisioning and setting them.

Let us follow the instructions below to check the present PHP versions/handlers:

  1. Log in to SSH.
  2. Enter the below command and execute it:
    /usr/local/cpanel/bin/rebuild_phpconf –current
  3. You will get the output:
    root@localhost ~ $ /usr/local/cpanel/bin/rebuild_phpconf –current
    DEFAULT PHP: ea-php70
    ea-php70 SAPI:suphp
    ea-php71 SAPI:suphp

This way you can check the PHP handler after installation and set it to suPHP. Hope you liked our article! For any further query you can get in touch with our support staff at any difficult moment.

Spread the love