Setting php max_input_vars not working

I got this message after migrating a Worpress setup to Trellis

You must update the max_input_vars php setting to at least 5000

So I added the variable to my staging environment vault group_vars/staging/vault.yml

  php_max_input_vars: 7000

I reprovisioned the server

trellis provision --tags php staging

No success I also added for testing to the environment variable to group_vars/all/vault.yml

php_max_input_vars: 5000

I am not sure what step am I missing. Still get the exact same error message.

Does it make sense to put this into the vault.yml? Wouldn’t group_vars/staging/main.yml be a better fit?

Besides that, php_max_input_vars should be the proper variable.

From where does the message You must update the max_input_vars php setting to at least [...] come? Another plugin? Bedrock, Sage, Acorn?

2 Likes

You are totally right, I was wondering shouldn’t vault only store secrets? I guess I got mixed up in the concepts.

Thanks