ini_set disable
i want to disable ini_set function in WHM. Should i just cut and remove the whole function in PHP configuration disable function. Normally in PHP.ini file we just comment or uncomment the function to enable/disable.
-
Hello :) You can browse to: "WHM Home " Service Configuration " PHP Configuration Editor" Click on Advanced Mode, search for "disable_functions", and remove or add functions. Thank you. 0 -
Thank you. I have got it. :) 0 -
Sir i do not want to remove ini_set from WHM due to security reasons. Is there any way that i could allow this function for a speicific client domain in whm or cpanel? 0 -
Are you using suPHP? If so, then the following thread should be of help to you: Restricting php.ini files Thank you. 0 -
Sir how can i know if suphp is being used on server or not. i usually enable/disable functions using php.ini in WHM. Do i have to install suphp separately on server and than change enteries in global php.ini file for individual customer. i want to use 2nd method mentioned in the link but before i edit php.ini file i want to confirm if suphp is installed or not. how can i know about it and how to install it in centos with WHM : Method Two: Putting individual user settings into the global php.ini file 0 -
An easy way to see this is to go here: WHM " Service Configuration " Configure PHP and suEXEC 0 -
Sir i have seen Configure PHP and suEXEC and PHP 5 Handler configured value is "suphp" and Apache suEXEC is "on" May i just add [PATH=/home/username/public_html] register_globals=On post_max_size=5000M in php ini file at the bottom and save? 0 -
You might do better to read up on all this before making any changes. Suggestion: open google, search for this: site:forums.cpanel.net register_globals=On for one cpanel account? Sort by date. And then have a look at all the many threads on this topic on these forums. 0
Please sign in to leave a comment.
Comments
8 comments