The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need to change php.ini files through whm

Discussion in 'General Discussion' started by turbos, Mar 5, 2014.

  1. turbos

    turbos Registered

    Joined:
    Mar 5, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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 ?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    I don't think the suhosin variables are in whm php editor

    nope it will not be overwritten
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page