Community

Closed Max_input_vars not getting updated

cl
clinqon #1

Hi, Presently we started working with a new theme and they are asking to increase the PHP Max Input Vars from 1000 to 5000. We tried editing the PHP files in the php.ini file but the problem was not resolved! Kindly suggest ways to resolve the issue!
The change we did was,

; How many GET/POST/COOKIE input variables may be accepted
;max_input_vars = 5120

us
usmannasir #2

remove ; from start as it is considered comment in .ini file and then do killall lsphp

mk
mksaha #3

Oh :confused: :s . That little " ; " took me 3 days untill i found this answer. <3

WK
WAR_K1NG_ONE #4

i dont understand how fix this

WK
WAR_K1NG_ONE #6

thanksa a lot im beginer in cyberpanel

ch
chedglen #7

Following up on this, here’s how I fixed my issue:

  • Go to PHP → Edit PHP Configs in CyberPanel
  • Click on “Advanced”
  • Search “max_input_vars”
  • Remove the ; before max_input_vars (that’s commenting it out)
  • Change the 1000 to whatever you need (I used 5000)
  • Click “Save Changes”
  • Click “Restart PHP”
at
avi turpiya #8

works for me
thanks

sh
shoaibkk #9

From the updated version follow this.

  • Go to PHP → Edit PHP Configs in CyberPanel
  • Click on “Advanced”
  • Search “max_input_vars”
  • Remove the ; before max_input_vars (that’s commenting it out)
  • Change the 1000 to whatever you need (I used 5000)
  • Click “Save Changes”
  • Click “Restart PHP”
rn
ruwan nissanka #11

Thank you very much. it helped me too… :muscle: :muscle: :pray: :pray: :pray:

This topic is closed to new replies.