Skip to content

Instantly share code, notes, and snippets.

@justcaldwell
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justcaldwell/9143394 to your computer and use it in GitHub Desktop.
Save justcaldwell/9143394 to your computer and use it in GitHub Desktop.
One solution when a drush command 'needs a higher bootstrap level to run' on a local install - https://drupal.org/node/1428638. In settings.php, $databases array...
'host' => php_sapi_name() == 'cli' ? '127.0.0.1' : 'localhost',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment