Is there a way to check in a php script if exec() is enabled or disabled on a server?
exec()
if(function_exists('exec')) { echo "exec is enabled"; }