Code:
suhosin.executor.func.blacklist = apache_note,apache_setenv,closelog,debugger_off,debugger_on,define_syslog_variables,escapeshellarg,escapeshellcmd,exec,ini_restore,openlog,passthru,pclose,pcntl_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,syslog,system,url_exec
Code:
# Omit the... section to apply settings globally in the VirtualHost. I usually copy my settings for the blacklist from php.ini, and then remove any needed functions from it when pasting here, thus permitting them.php_admin_value suhosin.executor.func.blacklist list-of-functions-to-disable
OK i've installed as an extension, it works perfectly, now i'll try to configure some parameter to aument the quantitiy of logging.
Tnx a lot for suggestions
I've disable a lot of functions on all the directory except one, enebled those again with something like this
<Directory /usr/share/squirrelmail>
Options None
AllowOverride None
Order allow,deny
Allow from all
php_admin_value suhosin.executor.func.blacklist " "
</Directory>
In this way in the directory /usr/share/squirrelmail i can execute all the code i want even if in the php.ini i've disable a lot of function like
suhosin.executor.func.blacklist = system, exec, proc_open, proc_close, popen, passthru, shell_exec, dl, show_source, highlight_file, pcntl_exec, ......
Tnx a lot again to all has helped me solve this problem
REFERENCES
http://www.directadmin.com/forum/showthread.php?t=17076
http://www.eukhost.com/forums/f42/disabling-dangerous-php-functions-6020/