On Thu, 2025-01-02 at 09:13 +0100, Matthias Hanft wrote: > Your "foo.php" does run here, too. I wonder what's the difference?! > PHP is 8.2.24.
Same PHP version here. > The only difference is that my "exec" is in a class method in a PHP > file which is included by "require_once". And it has worked for > years... Can you paste your exec method? I've never tried overriding (overloading?) a built-in method in this way, I'm a little surprised it works as well as you say. Then again I've always used shell_exec so...