Vegaanders Posted November 14, 2016 Share Posted November 14, 2016 Hi! Trying to change max input vars by setting it in htaccess gives me an internal server error 500I 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 More sharing options...
Gabriel Perez Posted November 14, 2016 Share Posted November 14, 2016 (edited) Hi, many hosts do not allow to change php configuration values in htaccess. Edited November 14, 2016 by Gabriel Perez (see edit history) Link to comment Share on other sites More sharing options...
vmarkovic Posted November 14, 2016 Share Posted November 14, 2016 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 More sharing options...
Vegaanders Posted November 14, 2016 Author Share Posted November 14, 2016 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. Link to comment Share on other sites More sharing options...
vmarkovic Posted November 14, 2016 Share Posted November 14, 2016 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 More sharing options...
Vegaanders Posted November 15, 2016 Author Share Posted November 15, 2016 I did exactly like above and get this error Internal Server ErrorThe 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now