I had disabled all dangerous php functions including shell_exec in my php.ini. Now I want to enable shell_exec only for a domain for executing only one command.How can I do it with open_basedir restriction or any other method?

有帮助吗?

解决方案

i think you need to look on this like, i have search a little around for this.

hobe its help you.

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top