Enabling suhosin function for one account dont works

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Im solving this issue a few days already, would appreacieate if anyone can help

have:
PHP 5.3.28
Apache/2.2.27
CGI handler
SuExec
Suhosin

i deleted disable_functions from php.ini and isntead used suhosin disabled fucntions. then i need to whitelist exec for one account.

so i created folder structure to this:
/usr/local/apache/conf/userdata/std/2_2/awzfsnat/mydomain.com/disabledfunctions.conf
/usr/local/apache/conf/userdata/std/2/awzfsnat/mydomain.com/disabledfunctions.conf

file contains:
<IfModule mod_php5.c>
suhosin.executor.func.whitelist="exec"
</IfModule>
i tried various moddification to this, but none work to show "exec" function as whitelisted in php(info) (httpd restarted)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Could you elaborate on what specific entry you are expecting to see in the PHPINFO file? Is there a particular reason you prefer not to use the disable_functions option that comes standard with PHP?

Thank you.
 

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Hello :)

Could you elaborate on what specific entry you are expecting to see in the PHPINFO file? Is there a particular reason you prefer not to use the disable_functions option that comes standard with PHP?

Thank you.
suhosin.executor.func.whitelist
because disable_functions disable globally, i need only one cpanel account to have exec function allowed. Tell how to do it if you know.