Created
May 18, 2017 13:50
-
-
Save matt-bailey/3768af1d9c6c372fc20deaec4ccac3cc to your computer and use it in GitHub Desktop.
Example Magento 2 env.php file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array ( | |
'backend' => | |
array ( | |
'frontName' => 'admin', | |
), | |
'crypt' => | |
array ( | |
'key' => '9af38453afda96c7862c7d10eb493ba4', | |
), | |
'session' => | |
array ( | |
'save' => 'files', | |
), | |
'db' => | |
array ( | |
'table_prefix' => '', | |
'connection' => | |
array ( | |
'default' => | |
array ( | |
'host' => '127.0.0.1', | |
'dbname' => 'database', | |
'username' => 'root', | |
'password' => 'root', | |
'model' => 'mysql4', | |
'engine' => 'innodb', | |
'initStatements' => 'SET NAMES utf8;', | |
'active' => '1', | |
), | |
), | |
), | |
'resource' => | |
array ( | |
'default_setup' => | |
array ( | |
'connection' => 'default', | |
), | |
), | |
'x-frame-options' => 'SAMEORIGIN', | |
'MAGE_MODE' => 'default', | |
'cache_types' => | |
array ( | |
'config' => 1, | |
'layout' => 1, | |
'block_html' => 1, | |
'collections' => 1, | |
'reflection' => 1, | |
'db_ddl' => 1, | |
'eav' => 1, | |
'customer_notification' => 1, | |
'full_page' => 1, | |
'config_integration' => 1, | |
'config_integration_api' => 1, | |
'translate' => 1, | |
'config_webservice' => 1, | |
), | |
'install' => | |
array ( | |
'date' => 'Tue, 16 May 2017 09:13:48 +0000', | |
), | |
); |
Just remember to not share your real DB Crypt Key guys =]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh god. Thank you!