suhosin + suphp

diablo666

Verified User
Joined
Jan 31, 2007
Messages
12
Location
Udine
Hi all,
i've run into a little problem, i've installed suhosin and suphp (as apache module) on the smae machine, all works fine except for a little thing, it seems that suhosin.executor.func.blacklist may not be used with this configuration, without suphp all has worked fine.

I've configured suhosin as follow in my php.ini

extension=suhosin.so
suhosin.executor.func.blacklist = system, proc_open, proc_close, popen, passthru, shell_exec, dl, show_source, highlight_file, pcntl_exec (...)
suhosin.memory_limit = 12M
suhosin.request.max_varname_length = 128
suhosin.request.max_vars = 400
suhosin.post.max_name_length = 128
suhosin.post.max_vars = 400

but i want that in the directory /usr/share/squirrelmail aren't enabled this restrictions so i've called the parameter suhosin.executor.func.blacklist with a blank list, so all commands maybe executed in this path.

# Configuracion del VirtualHost squirrelmail
<VirtualHost 192.168.0.51:80>
ServerAdmin root@localhost
DocumentRoot /usr/share/squirrelmail
ServerName 192.168.0.51
ServerAlias mail.*
CustomLog logs/squirrelmail_log combined
<Directory /usr/share/squirrelmail>
Options None
AllowOverride None
Order allow,deny
Allow from all
php_admin_value suhosin.executor.func.blacklist " "
</Directory>
</VirtualHost>

All worked fine as i told before the installation of suphp then it seems that php_admin_value suhosin.executor.func.blacklist " " wouldn't be recognized, there's some known incompatibility about this two module or how can i resolve this problem?

Tnx a lot to all
 
Back
Top