Php. ini: disable phpinfo () from running methods. We only need to add disable_functionsphpinfophp.ini in the php Tutorial. ini to introduce a function disable_functions, which is useful and can be used to disable some functions. For example, we only need to add
Disable_functions = phpinfo
The disable_functions function is introduced in php. ini, which is useful and can be used to disable some functions. For example, if disable_functions = passthru exec system popen is added to php. ini, the system () has been disabled for security reasons prompt will be displayed when these functions are executed, and the program stops running.
More details
Search for disable_functions and replace it with the following
Disable_functions = phpinfo, exec, passthru, shell_exec, system, proc_open, popen, curl_exec, curl_multi_exec, parse_ini_file, show_source
When disable_functions = phpinfo php. ini introduces a function called disable_functions, which is useful and can be used to disable some functions. For example...