This tutorial will explain to you how to disable PHP functions in WHM. You can disable PHP functions for your using WHM.

Some PHP functions on your servers can be used by hackers for malicious purposes, making them more vulnerable. Even though these functions are not intended to be dangerous, it is preferable to disable them to improve security.

Let’s take a look at how to disable PHP functions in WHM:

  1. Log into your “WHM as root user”
  2. Select “Sofware” from the search bar.
  3. Click on the “MultiPHP INI Editor”
  4. Select the “Editor Mode”
    Note - Scroll down to the directives of INI settings and look for 
    "Disable functions."
  5. The function is represented in the image below. Separate the names of the PHP functions you want to disable with a comma.
  6. Now, Click on the “SAVE” button

    Once you press the “SAVE” button WHM will generate a notification stating that the PHP functions have been disabled.

So, this is how you disable PHP functions in WHM to avoid hacking. We hope you found it beneficial. Please feel free to contact our customer service department at any time.

Readout our knowledge articles, blog posts, and information on our extensive hosting services can be found on the bodHOST.

 

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

502 Bad Gateway Error: What It Is and How to Fix

In this article, you will learn what is 502 Bad Gateway and how to fix…

cPanel and WHM Themes

Where can you find cPanel and WHM themes?

You will learn how to alter themes on cPanel and WHM in this article. We’ll…

How to Deactivate ModSecurity in cPanel

This post will show you how to deactivate ModSecurity in cPanel. Let us follow these…