phpinfo() dont read new changes in php.ini

Problems with the Windows version of XAMPP, questions, comments, and anything related.

phpinfo() dont read new changes in php.ini

Postby fhavio » 16. November 2013 16:00

Hi,

I read a lot of post's related with this problem, but until now any of the options are working, that's why i come here to tell my problem.
I'm making an app for android and when i was trying to make an upload i'm receiving this error:

Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

I'm sending an url with GET variables to my file in server, for what i see the problem is the size of variables that it is using (i dont know why this error is happening), so i went to php.ini and change that variable "max_input_vars" per default it is 1000 and i put it to 9999, to check. So like normal after editing and saving it, i stop all the apache processes, close xampp_control_panel and start it all again (i even restart the computer twice to be certain). Try the app and same error, went to php_info() file and everything was like beggining the value was in 1000 instead of 9999. but the php.ini was like i let it, so it saved.

I search for others .ini files and nothing. I read something about .htaccess files but i dont understand that well i search for somes but dont see anything unsual.

Even with this error a file is created in host with the correct name but without size, i test with a later xampp but was worst anything happens.

My xampp is 1.8.2 and my PHP is 5.4.19

Best Regards.
fhavio
 
Posts: 3
Joined: 16. November 2013 15:47
Operating System: Windows 7 32 bit

Re: phpinfo() dont read new changes in php.ini

Postby Altrea » 16. November 2013 16:09

Hi,

phpinfo() shows two values for this setting, a local value and a master value.
Which of them or both are showing the old value?

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: phpinfo() dont read new changes in php.ini

Postby fhavio » 16. November 2013 16:12

Hi,
Yeah both of the values are 1000.

BR
fhavio
 
Posts: 3
Joined: 16. November 2013 15:47
Operating System: Windows 7 32 bit

Re: phpinfo() dont read new changes in php.ini

Postby Altrea » 16. November 2013 16:29

The only reason for that is that you don't properly set this setting in your php configuration value.
Which configuration files are relevant are listed in your phpinfo() information.

Everything else is a syntax issue. By default the setting max_input_vars is commented out by a ; in front of the line. This needs to be removed.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: phpinfo() dont read new changes in php.ini

Postby fhavio » 16. November 2013 16:59

Ty man it was that omg i never remember of the comma :p

Thanks a lot
fhavio
 
Posts: 3
Joined: 16. November 2013 15:47
Operating System: Windows 7 32 bit

Re: phpinfo() dont read new changes in php.ini

Postby Altrea » 16. November 2013 17:00

Glad your problem could be solved.
Have fun with XAMPP and all that crazy stuff 8)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 22 guests