I'd like to disable the use of the exec() function in my PHP. Can this be done?

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Mon, 2006-08-07 16:31. :: PHP
Yes, you can disable it in your php.ini. Search for the line

disable_functions =

and change it:

disable_functions = exec

Don't forget to restart Apache afterwards.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.