Tagged: php.ini
I am getting a space limit on the website saying that it’s limited to 1000. Where do I find the variable ‘max_input_vars’? I do not see a php.ini file included with the theme.
Hi!
By space limit i guess you mean disk space (max_input_vars has nothing to do with that), you’d need to contact your host provider about that.
Regards,
Josue
Thanks. I had already done that before writing support. The folks at GoDaddy say they do not have a php.ini file on the server (I have no way to see beyond my shared hosting folder). Often when I download a theme it will have its own php.ini file but Enfold does not. Am I able to just create my own php.ini to add memory for that parameter? The megamenu folks are suggesting 3000 instead of 1000.
Hi!
You can use the ini_set directive, try putting this on functions.php:
@ini_set('max_input_vars', '3000');
Best regards,
Josue
Thanks. I ended up creating a local php.ini file instead and that seems to work.