Answer the question
In order to leave comments, you need to log in
Why is_executable and is_file don't work, but shell_exec does?
Tell me why when I write this code:
$res = is_executable("/usr/bin/convert");
var_dump($res);
$res = is_executable("/var/www/html/1.sh");
var_dump($res);
$res = shel_exec("/usr/bin/convert");
echo $res;
Answer the question
In order to leave comments, you need to log in
I solved the problem - I specified Apache in the config settings,
but it's not safe, I think I'll do the installation, and then I'll remove it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question