PHP exec - check if enabled or disabled
exec, linux, php, unix
Solution
if(function_exists('exec')) {
echo "exec is enabled";
}
Problem
Is there a way to check in a php script if `exec()` is enabled or disabled on a server?
exec, linux, php, unix
if(function_exists('exec')) {
echo "exec is enabled";
}
Is there a way to check in a php script if `exec()` is enabled or disabled on a server?