Hello, i have some globally disabled functions set in global php.ini, like: and when i want to enable some function for some path, i add to the end of global php.ini: So for example scripts in /home/user2/public_html will be allowed to use symlink php function even it is globally disabled. So it works, but exec() function is an exception, it can not be enabled for my defined paths while it is globally disabled. Any workaround to allow it for some PATH and its subdirectories while it is globally disabled?
I can not edit my post, so i have to add this new reply. I think that here is the answer, the [PATH=***] and [HOST=***] "sections are used only in CGI/FastCGI mode" and i have SuPHP php handler. Is there any alternative to enable/disable php function like exec for some path even it is globally disabled/enabled? https://forums.cpanel.net/threads/enable-shell_exec-for-one-user.109601/#post-588281