Skip to content

Instantly share code, notes, and snippets.

@gabesullice
Created June 20, 2017 21:58
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 gabesullice/a2d123acfbb2b9c72c1f988b503884a5 to your computer and use it in GitHub Desktop.
Save gabesullice/a2d123acfbb2b9c72c1f988b503884a5 to your computer and use it in GitHub Desktop.
Example Drupal Environment Configuration
<?php
// You may uncomment this once you have a database installed.
$databases['default']['default'] = [
'database' => '<database_name>',
'username' => '<database_username>',
'password' => '<database_password>',
'host' => '<db.yourdomain.com>',
'port' => '3306',
'driver' => 'mysql',
];
$settings['file_private_path'] = '/var/www/private';
$config_directories['sync'] = '/var/www/config/sync';
$settings['hash_salt'] = file_get_contents('/var/www/private/hash_salt.txt');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment