How would one customize the open_basedir global and individual values?

Valetia

Well-Known Member
Jun 20, 2002
216
10
168
cPanel Access Level
Root Administrator
When open_basedir is enabled via WHM, how does one customize the following values:

a) Global open_basedir value

b) Individual open_basedir value (per cPanel account)

Thanks in advance.
 
Last edited:

cPanelMichael

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

Could you let us know the specific value you are attempting to modify? For example, you can enable/disable PHP's open_basedir protection globally and on a per-account basis via:

"WHM Home » Security Center » PHP open_basedir Tweak"

Thank you.
 

Valetia

Well-Known Member
Jun 20, 2002
216
10
168
cPanel Access Level
Root Administrator
Hello :)

Could you let us know the specific value you are attempting to modify? For example, you can enable/disable PHP's open_basedir protection globally and on a per-account basis via:

"WHM Home » Security Center » PHP open_basedir Tweak"

Thank you.
Hi Michael,

We are attempting to modify the 'open_basedir' value that shows up in phpinfo().

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
This value is configured in the /usr/local/lib/php.ini file:

Code:
[/]# grep open_base /usr/local/lib/php.ini
; open_basedir, if set, limits all file operations to the defined directory
;open_basedir =
Thank you.