Steps to Disable PHP Functions :
1. Log in to Control Panel.
2. Go to CGI and then Scripted Language Support.
3. Click on PHP Scripting.
4. You can see your php.ini file that gets displayed in a text box at the bottom.
5. If your editing is disabled then click on Edit to make changes in the php.ini file.
6. Find the block of codes within your php.ini file as given below :
; – Using this directive you can disable certain functions for the security purposes.
This directive receives a comma-delimited list of function names. It is NOT affected by the status of Safe Mode i.e. even if it is On or Off.
7. Immediately after ‘disable_functions=’, write down the functions those you want to disable (for example exec, passthru, popen).
Here is a list that you can disable in order to improve security :
8. Now click on Save.
These are some of the common PHP functions that are disabled usually. Performing this operation using the control panel is very easy.
You can also Read :