I'm trying to disable functions, in my apache2 config file, but it's not working for some reason. I've verified that other php_admin_value settings ARE working, but it's just ignoring disable_functions
Here's what I have:
<Directory "/var/www/testdir/*">
php_admin_value open_basedir "/var/www/testdir"
php_admin_value disable_functions "exec,shell_exec"
</Directory>
The open_basedir admin value is working as expected (cannot include '../something'), but yet, it will still exec ls -a ..
or let me exec('ls -a ..', $output); echo $output;
as if the disable_functions flag was not even set.
Any ideas on how to fix this?