For security reasons we have to disable few PHP functions on server. You can check below steps for that:
- Login to WHM.
- Here click on “MultiPHP Manager” under “Software”.
- Here click on “Editor Mode” tab and you have to choose specific PHP version from drop down list.
- You will see the php.ini file, you have to search here for “disable_functions” and enter the required function.
- You can add the functions like shell_exec, exec, popen, apache_note etc according to your need.
- Click on “Save”.