I am trying to change the variable max_input_vars in my php.ini file by specifying
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 2500
and running
sudo nginx -s reload
Even though I set this variable to 2500 on both my local machine (C:\xampp\php\php.ini) and on Homestead (/etc/php5/fpm/php.ini), I keep receiving the following error message
parse_str(): Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini
I know .htaccess overrides php.ini on a per site basis, are there any other files which override php.ini? Are there any other services that need to be reloaded after changing the php.ini file?
On the latest laravel homestead, php.ini is located in
/etc/php/7.0/fpm/php.ini
(Make sure you enter into ssh in to the homestead environment)
try to edit it using
sudo su
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With