I can't change max_input_vars effectively
I'm trying to translate some categories on prestashop 1.6 using php 5.6.
It says the limit of max_input_vars is set to 1000 and that I need to contact godaddy and pay them 40 euros to change it.
(okay it doesn't say that about the money, I added that after contacting their web support :P)
I was wondering if I could do it myself.
I created my own php.ini 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
No dice.
Then I put the following lines in .htdocs file
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/vasilonet/php.ini
</IfModule>
Still nothing. The website refuses to allow me to do translations. It still says the limit is 1000.
I haven't even begun using my website and all these php limitations are really bizarre. What's with the small limits? (e.g. 8MB import limit for mysql files, etc)
php
add a comment |
I'm trying to translate some categories on prestashop 1.6 using php 5.6.
It says the limit of max_input_vars is set to 1000 and that I need to contact godaddy and pay them 40 euros to change it.
(okay it doesn't say that about the money, I added that after contacting their web support :P)
I was wondering if I could do it myself.
I created my own php.ini 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
No dice.
Then I put the following lines in .htdocs file
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/vasilonet/php.ini
</IfModule>
Still nothing. The website refuses to allow me to do translations. It still says the limit is 1000.
I haven't even begun using my website and all these php limitations are really bizarre. What's with the small limits? (e.g. 8MB import limit for mysql files, etc)
php
3
Did you restart the apache after changing configuration?
– Tarun
Oct 18 '17 at 10:11
1
You know, this is really odd but I don't think my shared hosting account is allowed to do that. -.- I'll contact them , and they will probably ask for another 40 euros lol
– Morgoth
Oct 18 '17 at 10:23
1
Probably you need a dedicated VM
– Tarun
Oct 18 '17 at 10:24
You know what, that's it. But even if I did that, then something else would pop up. And then something else. So I'm gonna stick with one language for now. Thanks a lot for your help :)
– Morgoth
Oct 18 '17 at 10:56
add a comment |
I'm trying to translate some categories on prestashop 1.6 using php 5.6.
It says the limit of max_input_vars is set to 1000 and that I need to contact godaddy and pay them 40 euros to change it.
(okay it doesn't say that about the money, I added that after contacting their web support :P)
I was wondering if I could do it myself.
I created my own php.ini 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
No dice.
Then I put the following lines in .htdocs file
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/vasilonet/php.ini
</IfModule>
Still nothing. The website refuses to allow me to do translations. It still says the limit is 1000.
I haven't even begun using my website and all these php limitations are really bizarre. What's with the small limits? (e.g. 8MB import limit for mysql files, etc)
php
I'm trying to translate some categories on prestashop 1.6 using php 5.6.
It says the limit of max_input_vars is set to 1000 and that I need to contact godaddy and pay them 40 euros to change it.
(okay it doesn't say that about the money, I added that after contacting their web support :P)
I was wondering if I could do it myself.
I created my own php.ini 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
No dice.
Then I put the following lines in .htdocs file
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/vasilonet/php.ini
</IfModule>
Still nothing. The website refuses to allow me to do translations. It still says the limit is 1000.
I haven't even begun using my website and all these php limitations are really bizarre. What's with the small limits? (e.g. 8MB import limit for mysql files, etc)
php
php
edited Oct 18 '17 at 10:16
Morgoth
asked Oct 18 '17 at 10:08
MorgothMorgoth
176
176
3
Did you restart the apache after changing configuration?
– Tarun
Oct 18 '17 at 10:11
1
You know, this is really odd but I don't think my shared hosting account is allowed to do that. -.- I'll contact them , and they will probably ask for another 40 euros lol
– Morgoth
Oct 18 '17 at 10:23
1
Probably you need a dedicated VM
– Tarun
Oct 18 '17 at 10:24
You know what, that's it. But even if I did that, then something else would pop up. And then something else. So I'm gonna stick with one language for now. Thanks a lot for your help :)
– Morgoth
Oct 18 '17 at 10:56
add a comment |
3
Did you restart the apache after changing configuration?
– Tarun
Oct 18 '17 at 10:11
1
You know, this is really odd but I don't think my shared hosting account is allowed to do that. -.- I'll contact them , and they will probably ask for another 40 euros lol
– Morgoth
Oct 18 '17 at 10:23
1
Probably you need a dedicated VM
– Tarun
Oct 18 '17 at 10:24
You know what, that's it. But even if I did that, then something else would pop up. And then something else. So I'm gonna stick with one language for now. Thanks a lot for your help :)
– Morgoth
Oct 18 '17 at 10:56
3
3
Did you restart the apache after changing configuration?
– Tarun
Oct 18 '17 at 10:11
Did you restart the apache after changing configuration?
– Tarun
Oct 18 '17 at 10:11
1
1
You know, this is really odd but I don't think my shared hosting account is allowed to do that. -.- I'll contact them , and they will probably ask for another 40 euros lol
– Morgoth
Oct 18 '17 at 10:23
You know, this is really odd but I don't think my shared hosting account is allowed to do that. -.- I'll contact them , and they will probably ask for another 40 euros lol
– Morgoth
Oct 18 '17 at 10:23
1
1
Probably you need a dedicated VM
– Tarun
Oct 18 '17 at 10:24
Probably you need a dedicated VM
– Tarun
Oct 18 '17 at 10:24
You know what, that's it. But even if I did that, then something else would pop up. And then something else. So I'm gonna stick with one language for now. Thanks a lot for your help :)
– Morgoth
Oct 18 '17 at 10:56
You know what, that's it. But even if I did that, then something else would pop up. And then something else. So I'm gonna stick with one language for now. Thanks a lot for your help :)
– Morgoth
Oct 18 '17 at 10:56
add a comment |
3 Answers
3
active
oldest
votes
The following will only work if your php.ini allows you to overwrite the settings.
Based on your question, add these lines to your .htaccess file:
php_value post_max_size = 20000M
php_value upload_max_filesize = 20000M
php_value max_execution_time = 30000
php_value max_input_time = 60000
php_value memory_limit = 8000M
php_value max_input_vars = 8000
php_value suhosin.post.max_vars = 8000
php_value suhosin.request.max_vars = 8000
Hope this will solve your problem.
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
add a comment |
Based on my latest experience you should check this php manual link:
http://php.net/manual/en/configuration.file.per-user.php
You just have to place one
.user.ini
to the main shop folder and one into the admin folder.
After this you should restart the php/apache service
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.commemory_limit = 256M;max_execution_time=44000;max_input_time=-1;upload_max_filesize=25M;post_max_size=20M;max_input_vars=10000;suhosin.get.max_vars = 10000;suhosin.post.max_vars = 10000;
– Gabo3D
Oct 21 '17 at 9:35
add a comment |
I also encountered this problem while setting up Uncode Wordpress template. I tried increasing max_input_vars to 3000 in .htaccess, .user.ini and even php.ini of the server. However, the PHP Max Input Vars (allowed) was 999 and highlighted in red. This caused us loosing all our template customization after a while. Finally I solved the issue by adding the following in the php.ini file of the server.
suhosin.post.max_vars=3001
suhosin.request.max_vars=3001
It need to be 3001 in order to get the Effective Max Var (PHP Max Input Vars (allowed)) to 3000 and green. I had tried adding these values to .user.ini and .htaccess, but didn't work.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46807704%2fi-cant-change-max-input-vars-effectively%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The following will only work if your php.ini allows you to overwrite the settings.
Based on your question, add these lines to your .htaccess file:
php_value post_max_size = 20000M
php_value upload_max_filesize = 20000M
php_value max_execution_time = 30000
php_value max_input_time = 60000
php_value memory_limit = 8000M
php_value max_input_vars = 8000
php_value suhosin.post.max_vars = 8000
php_value suhosin.request.max_vars = 8000
Hope this will solve your problem.
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
add a comment |
The following will only work if your php.ini allows you to overwrite the settings.
Based on your question, add these lines to your .htaccess file:
php_value post_max_size = 20000M
php_value upload_max_filesize = 20000M
php_value max_execution_time = 30000
php_value max_input_time = 60000
php_value memory_limit = 8000M
php_value max_input_vars = 8000
php_value suhosin.post.max_vars = 8000
php_value suhosin.request.max_vars = 8000
Hope this will solve your problem.
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
add a comment |
The following will only work if your php.ini allows you to overwrite the settings.
Based on your question, add these lines to your .htaccess file:
php_value post_max_size = 20000M
php_value upload_max_filesize = 20000M
php_value max_execution_time = 30000
php_value max_input_time = 60000
php_value memory_limit = 8000M
php_value max_input_vars = 8000
php_value suhosin.post.max_vars = 8000
php_value suhosin.request.max_vars = 8000
Hope this will solve your problem.
The following will only work if your php.ini allows you to overwrite the settings.
Based on your question, add these lines to your .htaccess file:
php_value post_max_size = 20000M
php_value upload_max_filesize = 20000M
php_value max_execution_time = 30000
php_value max_input_time = 60000
php_value memory_limit = 8000M
php_value max_input_vars = 8000
php_value suhosin.post.max_vars = 8000
php_value suhosin.request.max_vars = 8000
Hope this will solve your problem.
answered Oct 18 '17 at 13:09
AuroraAurora
380313
380313
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
add a comment |
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
thx i however don't have a vps account on godaddy. bummer.
– Morgoth
Oct 20 '17 at 15:25
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
Aahh well....at least we tried...that'll be € 39,95 please ;)
– Aurora
Oct 21 '17 at 5:54
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
hahaha let me get my wallet.
– Morgoth
Oct 21 '17 at 7:53
add a comment |
Based on my latest experience you should check this php manual link:
http://php.net/manual/en/configuration.file.per-user.php
You just have to place one
.user.ini
to the main shop folder and one into the admin folder.
After this you should restart the php/apache service
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.commemory_limit = 256M;max_execution_time=44000;max_input_time=-1;upload_max_filesize=25M;post_max_size=20M;max_input_vars=10000;suhosin.get.max_vars = 10000;suhosin.post.max_vars = 10000;
– Gabo3D
Oct 21 '17 at 9:35
add a comment |
Based on my latest experience you should check this php manual link:
http://php.net/manual/en/configuration.file.per-user.php
You just have to place one
.user.ini
to the main shop folder and one into the admin folder.
After this you should restart the php/apache service
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.commemory_limit = 256M;max_execution_time=44000;max_input_time=-1;upload_max_filesize=25M;post_max_size=20M;max_input_vars=10000;suhosin.get.max_vars = 10000;suhosin.post.max_vars = 10000;
– Gabo3D
Oct 21 '17 at 9:35
add a comment |
Based on my latest experience you should check this php manual link:
http://php.net/manual/en/configuration.file.per-user.php
You just have to place one
.user.ini
to the main shop folder and one into the admin folder.
After this you should restart the php/apache service
Based on my latest experience you should check this php manual link:
http://php.net/manual/en/configuration.file.per-user.php
You just have to place one
.user.ini
to the main shop folder and one into the admin folder.
After this you should restart the php/apache service
answered Oct 19 '17 at 15:16
Gabo3DGabo3D
161
161
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.commemory_limit = 256M;max_execution_time=44000;max_input_time=-1;upload_max_filesize=25M;post_max_size=20M;max_input_vars=10000;suhosin.get.max_vars = 10000;suhosin.post.max_vars = 10000;
– Gabo3D
Oct 21 '17 at 9:35
add a comment |
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.commemory_limit = 256M;max_execution_time=44000;max_input_time=-1;upload_max_filesize=25M;post_max_size=20M;max_input_vars=10000;suhosin.get.max_vars = 10000;suhosin.post.max_vars = 10000;
– Gabo3D
Oct 21 '17 at 9:35
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
thanks bro. but i can't restart apache .
– Morgoth
Oct 20 '17 at 15:23
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.com
memory_limit = 256M; max_execution_time=44000; max_input_time=-1; upload_max_filesize=25M; post_max_size=20M; max_input_vars=10000; suhosin.get.max_vars = 10000; suhosin.post.max_vars = 10000;– Gabo3D
Oct 21 '17 at 9:35
Have you tried adding the file without the restart? Regarding to this it should work without the restart as well: link https://uk.godaddy.com
memory_limit = 256M; max_execution_time=44000; max_input_time=-1; upload_max_filesize=25M; post_max_size=20M; max_input_vars=10000; suhosin.get.max_vars = 10000; suhosin.post.max_vars = 10000;– Gabo3D
Oct 21 '17 at 9:35
add a comment |
I also encountered this problem while setting up Uncode Wordpress template. I tried increasing max_input_vars to 3000 in .htaccess, .user.ini and even php.ini of the server. However, the PHP Max Input Vars (allowed) was 999 and highlighted in red. This caused us loosing all our template customization after a while. Finally I solved the issue by adding the following in the php.ini file of the server.
suhosin.post.max_vars=3001
suhosin.request.max_vars=3001
It need to be 3001 in order to get the Effective Max Var (PHP Max Input Vars (allowed)) to 3000 and green. I had tried adding these values to .user.ini and .htaccess, but didn't work.
add a comment |
I also encountered this problem while setting up Uncode Wordpress template. I tried increasing max_input_vars to 3000 in .htaccess, .user.ini and even php.ini of the server. However, the PHP Max Input Vars (allowed) was 999 and highlighted in red. This caused us loosing all our template customization after a while. Finally I solved the issue by adding the following in the php.ini file of the server.
suhosin.post.max_vars=3001
suhosin.request.max_vars=3001
It need to be 3001 in order to get the Effective Max Var (PHP Max Input Vars (allowed)) to 3000 and green. I had tried adding these values to .user.ini and .htaccess, but didn't work.
add a comment |
I also encountered this problem while setting up Uncode Wordpress template. I tried increasing max_input_vars to 3000 in .htaccess, .user.ini and even php.ini of the server. However, the PHP Max Input Vars (allowed) was 999 and highlighted in red. This caused us loosing all our template customization after a while. Finally I solved the issue by adding the following in the php.ini file of the server.
suhosin.post.max_vars=3001
suhosin.request.max_vars=3001
It need to be 3001 in order to get the Effective Max Var (PHP Max Input Vars (allowed)) to 3000 and green. I had tried adding these values to .user.ini and .htaccess, but didn't work.
I also encountered this problem while setting up Uncode Wordpress template. I tried increasing max_input_vars to 3000 in .htaccess, .user.ini and even php.ini of the server. However, the PHP Max Input Vars (allowed) was 999 and highlighted in red. This caused us loosing all our template customization after a while. Finally I solved the issue by adding the following in the php.ini file of the server.
suhosin.post.max_vars=3001
suhosin.request.max_vars=3001
It need to be 3001 in order to get the Effective Max Var (PHP Max Input Vars (allowed)) to 3000 and green. I had tried adding these values to .user.ini and .htaccess, but didn't work.
answered Nov 24 '18 at 3:29
Ismail KattakathIsmail Kattakath
8114
8114
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46807704%2fi-cant-change-max-input-vars-effectively%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Did you restart the apache after changing configuration?
– Tarun
Oct 18 '17 at 10:11
1
You know, this is really odd but I don't think my shared hosting account is allowed to do that. -.- I'll contact them , and they will probably ask for another 40 euros lol
– Morgoth
Oct 18 '17 at 10:23
1
Probably you need a dedicated VM
– Tarun
Oct 18 '17 at 10:24
You know what, that's it. But even if I did that, then something else would pop up. And then something else. So I'm gonna stick with one language for now. Thanks a lot for your help :)
– Morgoth
Oct 18 '17 at 10:56