Post by -em- » Sat Jan 04, 2020 4:01 am

It seems this is an old issue, but I had no luck in finding the solution.

So, I have a problem with product options. It apeears there is some limitation. I tried editing php.ini and .htaccess, but nothing.

Any solution?

Thank you

New member

Posts

Joined
Sun Dec 13, 2015 8:18 pm

Post by uksitebuilder » Sat Jan 04, 2020 4:26 am

max_input_vars increase to 10000 in php.ini and admin/php.ini

After changing, check the change has taken place by uploading a php file as follows:

name it info.php

contents:

Code: Select all

<?php
phpinfo();
Upload to your store root folder and run it in a browser - Check for the value of max_input_vars to see if it has changed.

Delete info.php afterwards

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by -em- » Sat Jan 04, 2020 5:06 am

uksitebuilder wrote:
Sat Jan 04, 2020 4:26 am
max_input_vars increase to 10000 in php.ini and admin/php.ini

After changing, check the change has taken place by uploading a php file as follows:

name it info.php

contents:

Code: Select all

<?php
phpinfo();
Upload to your store root folder and run it in a browser - Check for the value of max_input_vars to see if it has changed.

Delete info.php afterwards
I don't have a php.in in the admin folder. Should I copy the same php.ini there as well?
Did it, as you suggested and change it twice, 10000 and 50000, but in the info.php remained the same 1000.

Thank you :)

New member

Posts

Joined
Sun Dec 13, 2015 8:18 pm

Post by uksitebuilder » Sat Jan 04, 2020 4:50 pm

If there is no change when you view info.php then it seems your host does not allow php.ini overrides.

In that case I would suggest you contact your host to see if they can help.

If you are using shared hosting, then they will most likely say no. One of the many drawbacks of using shared hosting unfortunately.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by -em- » Sun Jan 05, 2020 8:25 pm

uksitebuilder wrote:
Sat Jan 04, 2020 4:50 pm
If there is no change when you view info.php then it seems your host does not allow php.ini overrides.

In that case I would suggest you contact your host to see if they can help.

If you are using shared hosting, then they will most likely say no. One of the many drawbacks of using shared hosting unfortunately.
It updated somehow, and now it is working.

Thank you

New member

Posts

Joined
Sun Dec 13, 2015 8:18 pm
Who is online

Users browsing this forum: 7cswinery and 62 guests