Magento: Cannot add new attribute option values or delete after adding too many values
I've been trying different fixes for the issue mentioned but the fix below is the best. To fix this issue, do the following in php.ini:
memory_limit = 256M
max_execution_time = 3600
max_input_time = 600
post_max_size = 512M
max_input_vars = 100000
suhosin.post.max_vars = 100000
suhosin.request.max_vars = 100000
You may add some lines if they don't exist yet.
In CentOS, php.ini can be found in /usr/local/lib/php.ini.
In Ubuntu, it's residing in the following :
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini
After modifying php.ini, please don't forget to restart Apache.
That's all!
memory_limit = 256M
max_execution_time = 3600
max_input_time = 600
post_max_size = 512M
max_input_vars = 100000
suhosin.post.max_vars = 100000
suhosin.request.max_vars = 100000
You may add some lines if they don't exist yet.
In CentOS, php.ini can be found in /usr/local/lib/php.ini.
In Ubuntu, it's residing in the following :
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini
That's all!
How can i save after edit the file in shell
ReplyDelete