如何仅为一个域启用具有open_basedir限制的shell_exec


How to enable shell_exec with open_basedir restriction for only one domain?

我已经禁用了所有危险的php函数,包括php.ini中的shell_exec。现在,我想仅为仅执行一个命令的域启用shell_exec。如何使用open_basedir限制或任何其他方法做到这一点?

我认为你需要看看这个,我已经搜索了一下。

霍比它可以帮助你。

http://discussion.accuwebhost.com/linux-server/1096-how-enable-shell_exec-function-one-account.html