Need to change php.ini files through whm

turbos

Registered
Mar 5, 2014
1
0
1
cPanel Access Level
Website Owner
Hi all,

Im currently owner of a vps and Im trying to change some settings in php.ini as it seems that my website platform requires me too.

these are the settings need to be changed.

'suhosin.post.max_vars' is 4096, however your value is 1000. Your host will need to change this in the php.ini file

'suhosin.request.max_vars' is 4096, however your value is 1000. Your host will need to change this in the php.ini file.

'suhosin.get.max_value_length' is 2000, however your value is 512. Your host will need to change this in the php.ini file

'suhosin.request.max_varname_length' is 350, however your value is 64. Your host will need to change this in the php.ini file.

Im 99% sure these can be changed in the WHM but I can't seem to find them, on google I find mostly how to edit it via ftp or ssh, I prefer if its possible to do it with WHM though because from my understanding if you do it with ftp/ssh you lose the settings after an update, can someone guide me to their locations if Im not asking too much ?
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
I don't think the suhosin variables are in whm php editor

because from my understanding if you do it with ftp/ssh you lose the settings after an update
nope it will not be overwritten
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

You can manually edit the "/usr/local/lib/php.ini" file and then save the changes. The changes should not be overwritten.

Thank you.