Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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,741
    Likes Received:
    76
    Trophy Points:
    203
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice