Knowledge Base
Scripting: How to Disable PHP Functions
- Log in to Account Manager.
- On the left pane, click on Hosting.
- Under Hosting Packages, click the MANAGE button next to the package you want to access.
- Under Scripting Configuration, click on the Manage PHP Scripting.
- Under PHP Scripting Config, access Manage php.ini.
- Locate the following block of code within your php.ini file:
- Just after 'disable_functions = ', write out the functions you want to disable (example: exec, passthru, popen). Here is a list of functions that are commonly disabled as a means to improve security:
- exec
- passthru
- shell_exec
- system,
- proc_open
- popen
- curl_exec
- curl_multi_exec
- parse_ini_file
- show_source
- Click the Save button once you are done.
Important: Some themes, plugins, and features for popular PHP-based website builders (such as WordPress) may rely on one or more of these functions. Disabling these functions may cause certain features to stop working (notably, some WordPress automatic backup plugins).
* Your feedback is too short