Can i enable exec() for some PATH while it is globally disabled?


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:

disable_functions = “show_source, system, passthru, shell_exec, popen, proc_open, allow_url_fopen”[/QUOTE]

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?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.