m.akram

Active Member
Nov 25, 2013
35
0
6
cPanel Access Level
Root Administrator
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.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.
 

m.akram

Active Member
Nov 25, 2013
35
0
6
cPanel Access Level
Root Administrator
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?
 

m.akram

Active Member
Nov 25, 2013
35
0
6
cPanel Access Level
Root Administrator
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

http://forums.cpanel.net/f185/metho...ricting-who-can-use-php-ini-files-167186.html
 

m.akram

Active Member
Nov 25, 2013
35
0
6
cPanel Access Level
Root Administrator
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?
 

Infopro

Well-Known Member
May 20, 2003
17,090
519
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
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.