eru777 Posted October 18, 2017 Share Posted October 18, 2017 (edited) Heya. I've set up a new website and just started translating some of it to my native Greek language. Yet from the very first time I get an error that "max_input_vars" is set to 1000 and that it's too low for that. I created a php.ini file and put it on public_html post_max_size = 20000M upload_max_filesize = 20000M max_execution_time = 30000 max_input_time = 60000 memory_limit = 8000M max_input_vars = 8000 suhosin.post.max_vars = 8000 suhosin.request.max_vars = 8000 Then I put the following lines in the (hidden) .htdocs file <IfModule mod_suphp.c> suPHP_ConfigPath /home/vasilonet/php.ini </IfModule> Still nothing. Someone told me that I have to restart apache to apply that, but I use a shared godaddy server. I.e. I can't restart apache, unless I pay 204 euros/ year and 360 euros per year after that. My question is: Why on earth does PHP use such small file limits? E.g. 8MB for mysql databases, a database for ants? Thanks for reading EDIT: This makes me think about hosting it from my computer, since I don't have that many customers online. But I have a dynamic IP so I have to find a way to bypass that problem. Edited October 18, 2017 by eru777 (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted October 23, 2017 Share Posted October 23, 2017 Hosting on your own computer? The worst solution you can think. Seriously. Link to comment Share on other sites More sharing options...
El Patron Posted October 23, 2017 Share Posted October 23, 2017 limits are set by 'hosting'. They set these limits based on 'typical' use, think wordpress. PrestaShop has large data to work with. I recommend finding a more robust hosting, min vps so you have dedicated 'like' access. Link to comment Share on other sites More sharing options...
bellini13 Posted October 24, 2017 Share Posted October 24, 2017 a too large of a value in max_input_vars could introduce security issues. This parameter in conjunction with other parameters is what controls how much data can be sent to your server in a POST request. If you are able to increase it, I would suggest you revert the change back to 1000 after you are done Also note, in a shared hosting environment, they will likely restrict your ability to change this. Tread carefully... 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