Skip to content

Instantly share code, notes, and snippets.

@mttjohnson
Created February 24, 2016 18:03
Show Gist options
  • Save mttjohnson/19adbb9d6144ceae67e3 to your computer and use it in GitHub Desktop.
Save mttjohnson/19adbb9d6144ceae67e3 to your computer and use it in GitHub Desktop.
php.ini scripted update for max_input_vars
sed -i .bak -e "s/openssl.cafile/max_input_vars = 16384\\
openssl.cafile/" /server/vagrant/etc/php.d/00-php.ini
cd /server/
vagrant ssh
sudo sed -i -e "s/openssl.cafile/max_input_vars = 16384\\
openssl.cafile/" /etc/php.d/00-php.ini
sudo apachectl restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment