-
-
Save chuckreynolds/a5b1b416a1125322f9caa6c2e4f8e0b9 to your computer and use it in GitHub Desktop.
local / development WordPress wp-config file
This file contains 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 | |
define('WP_CACHE', false); // true/false testing Simple Cache | |
define('DISABLE_WP_CRON', false); | |
define('DISALLOW_FILE_EDIT', true); | |
#define('WP_ALLOW_REPAIR', true); | |
/** Local Dev settings **/ | |
define('WP_DEBUG', true); | |
if (WP_DEBUG) { | |
define('WP_ENV', 'development'); | |
define('WP_LOCAL_DEV', true); | |
define('JETPACK_DEV_DEBUG', true); | |
define('WP_DEBUG_LOG', true); | |
define('SCRIPT_DEBUG', true); | |
if (defined('DOING_AJAX') && DOING_AJAX || defined('DOING_CRON') && DOING_CRON) { | |
define('WP_DEBUG_DISPLAY', false); | |
#@ini_set( 'display_errors', 0 ); | |
} else { | |
define('WP_DEBUG_DISPLAY', true); | |
} | |
} | |
/** MySQL settings - You can get this info from your web host */ | |
define('DB_NAME', 'xxxxxxxxx'); | |
define('DB_USER', 'xxxxxxxxx'); | |
define('DB_PASSWORD', 'xxxxxxxxx'); | |
define('DB_HOST', 'localhost'); | |
define('DB_CHARSET', 'utf8mb4'); | |
define('DB_COLLATE', ''); | |
/** | |
* Authentication Unique Keys and Salts. | |
* @link https://api.wordpress.org/secret-key/1.1/salt/ | |
*/ | |
define('AUTH_KEY', ''); | |
define('SECURE_AUTH_KEY', ''); | |
define('LOGGED_IN_KEY', ''); | |
define('NONCE_KEY', ''); | |
define('AUTH_SALT', ''); | |
define('SECURE_AUTH_SALT', ''); | |
define('LOGGED_IN_SALT', ''); | |
define('NONCE_SALT', ''); | |
/** WordPress Database Table prefix. */ | |
$table_prefix = 'wp_'; | |
/** Absolute path to the WordPress directory. */ | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
/** Sets up WordPress vars and included files. */ | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment