Disable Functions in PHP
Some time we don’t want some of the process to do in our server.
PHP offers a way to restrict some of the function done in our server.
We can do it in php.ini
disable_functions funtion1,function2,…..
example if we don’t want scripts to write a file
we can specify
disable_functions fwrite
If the script uses fwrite then it will give the warning
Warning: fwrite() has been disabled for security reasons in /docroot/script.php on line 10
