I need to extend max input var in magento for increasing category product limit. On 1000 product my category is not working with more than 1000 product...
I need to extend max_input_vars
in Magento without touching php.ini
file...
In index.php
I have put this:
ini_set('max_input_vars', 3000);
is it good for increasing max_input_vars
for Magento?
I'm using VPS and on that it is restricted to touch or change php.ini
So I need to put my code in index.php
. I just want to know if that is fine.
Or any good solution please.