Home >Backend Development >PHP Tutorial >How to block phpinfo()?_PHP Tutorial
Q: How can I block phpinfo()?
A: Path: C:winnt(or windows)php.ini (NT and 2000) C:windows(95,98)
In php There is this option in the .ini configuration file
disable_functions = ; This directive allows you to disable certain
; functions for security reasons. It receives
; a comma separated list of function names.
; This directive is *NOT* affected by whether
; Safe Mode is turned on or off.
changed to
disble_functions = phpinfo