Amazon – max_input_vars not updating via wp-config

I’m sure this is a simple question with a simple answer… I was trying to update the max_input_vars value in my wp-config.php file, but I found it was not being updated. It was being ignored or was being overwritten. I had to update it in the php.ini file to reflect the value. Why? In the past I usually put this value in the wp-config.php file with @ini_set(‘max_input_vars’, 3000 ); And let the good times roll by. Usually I like it because everything is in one place. Is @ini_set disabled or something? In php.ini it is not listed as disabled so I am at a loss there.

I am using an Amazon Lightsail WordPress instance which is Bitnami Stack. Has anyone run into this and figured out why? Thank you! ,

Leave a Comment