Jump to content

Add php_value max_input_vars 6000 to htaccess give errorpage 500


Recommended Posts

Hi!

 

Trying to change max input vars by setting it in htaccess gives me an internal server error 500

I placed the line outside the end comment in the htaccess as I read in another post

 

php_value max_input_vars 6000

 

How should it be done to work?

 

Anders

 

1.6.1.9

Link to comment
Share on other sites

Hi!

 

Trying to change max input vars by setting it in htaccess gives me an internal server error 500

 

I placed the line outside the end comment in the htaccess as I read in another post

 

php_value max_input_vars 6000

 

How should it be done to work?

 

Anders

 

1.6.1.9

Ask your hosting provider to do it for you.

Link to comment
Share on other sites

It was the hosting provider that said I should do it with htaccess, So it must be allowed. And they seem to mean that it should be done like that. 

 

I just put mine in top of .htaccess file which is located in servers root/home folder and it is working.

 

Here are first 12 rows:

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

php_value max_input_vars 5000

<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>

RewriteEngine on
Link to comment
Share on other sites

I did exactly like above and get this error
 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

 

 

Anders

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...