Enabling suhosin function for one account dont works
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:
[QUOTE]
suhosin.executor.func.whitelist="exec"
i tried various moddification to this, but none work to show "exec" function as whitelisted in php(info) (httpd restarted)
i tried various moddification to this, but none work to show "exec" function as whitelisted in php(info) (httpd restarted)
-
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. 0 -
[quote="cPanelMichael, post: 1639482">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.0 -
You may find this thread helpful: Enable Shell Exec For One User Thank you. 0
Please sign in to leave a comment.
Comments
3 comments