2.8.20. Disable PHP functions

If a disabled function is called in the script, an E_WARNING warning will be returned, but the script will continue to run.

The disable_functions parameter allows you to disable only PHP's built-in functions; it does not affect user-defined functions. For example, you can use it to prevent site scripts from sending email using the mail function or, to enhance security, block the use of functions such as exec and shell_exec.

  1. In the "disable_functions" field, enter the names of the functions you want to disable, separated by commas, and save your changes:
  2. Wait approximately 10-15 minutes for the changes to take effect.

To re-enable disabled features, remove them from the list, save your settings, and wait for the changes to take effect.

Content