Skip to content

Instantly share code, notes, and snippets.

@snetty
Created October 21, 2015 08:58
Show Gist options
  • Save snetty/f8c486556c7e7e1b1de3 to your computer and use it in GitHub Desktop.
Save snetty/f8c486556c7e7e1b1de3 to your computer and use it in GitHub Desktop.
Increase max_nesting_level in Laravel Homestead to cater for Pyro CMS (amongst others)
#!/bin/sh
# If you would like to do some extra provisioning you may
# add any commands you wish to this file and they will
# be run after the Homestead machine is provisioned.
xdebug="xdebug.max_nesting_level=300"
echo "$xdebug" > "/etc/php5/mods-available/xdebug.ini"
service php5-fpm restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment