Is there a way to check in a php script if exec() is enabled or disabled on a server?
exec()
This will check if the function actually works (permissions, rights, etc):
if(@exec('echo EXEC') == 'EXEC'){ echo 'exec works'; }
548k questions
547k answers
4 comments
86.3k users