Disable funtions in php.ini editor
Easy question,...
I want disable some funtions in php.ini
What is the right way?
With or without quotes
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
or
disable_functions = "exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source"
Thanks.
Regards.
JM
-
Either really works. You can verify with phpinfo() call. 0 -
It'll work without them but as @GOT noted best to always verify changes with phpinfo() The description for disable_functions only notes the following: ; This directive allows you to disable certain functions for security reasons. ; It receives a comma-delimited list of function names.0
Please sign in to leave a comment.
Comments
2 comments