/wp-config-sample.php

https://github.com/livinglab/openlab · PHP · 96 lines · 21 code · 16 blank · 59 comment · 1 complexity · 087e7d07bd9c16219984a9c0dcf07989 MD5 · raw file

  1. <?php
  2. /**
  3. * The base configuration for WordPress
  4. *
  5. * The wp-config.php creation script uses this file during the installation.
  6. * You don't have to use the web site, you can copy this file to "wp-config.php"
  7. * and fill in the values.
  8. *
  9. * This file contains the following configurations:
  10. *
  11. * * MySQL settings
  12. * * Secret keys
  13. * * Database table prefix
  14. * * ABSPATH
  15. *
  16. * @link https://wordpress.org/support/article/editing-wp-config-php/
  17. *
  18. * @package WordPress
  19. */
  20. // ** MySQL settings - You can get this info from your web host ** //
  21. /** The name of the database for WordPress */
  22. define( 'DB_NAME', 'database_name_here' );
  23. /** MySQL database username */
  24. define( 'DB_USER', 'username_here' );
  25. /** MySQL database password */
  26. define( 'DB_PASSWORD', 'password_here' );
  27. /** MySQL hostname */
  28. define( 'DB_HOST', 'localhost' );
  29. /** Database charset to use in creating database tables. */
  30. define( 'DB_CHARSET', 'utf8' );
  31. /** The database collate type. Don't change this if in doubt. */
  32. define( 'DB_COLLATE', '' );
  33. /**#@+
  34. * Authentication unique keys and salts.
  35. *
  36. * Change these to different unique phrases! You can generate these using
  37. * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
  38. *
  39. * You can change these at any point in time to invalidate all existing cookies.
  40. * This will force all users to have to log in again.
  41. *
  42. * @since 2.6.0
  43. */
  44. define( 'AUTH_KEY', 'put your unique phrase here' );
  45. define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
  46. define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
  47. define( 'NONCE_KEY', 'put your unique phrase here' );
  48. define( 'AUTH_SALT', 'put your unique phrase here' );
  49. define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
  50. define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
  51. define( 'NONCE_SALT', 'put your unique phrase here' );
  52. /**#@-*/
  53. /**
  54. * WordPress database table prefix.
  55. *
  56. * You can have multiple installations in one database if you give each
  57. * a unique prefix. Only numbers, letters, and underscores please!
  58. */
  59. $table_prefix = 'wp_';
  60. /**
  61. * For developers: WordPress debugging mode.
  62. *
  63. * Change this to true to enable the display of notices during development.
  64. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  65. * in their development environments.
  66. *
  67. * For information on other constants that can be used for debugging,
  68. * visit the documentation.
  69. *
  70. * @link https://wordpress.org/support/article/debugging-in-wordpress/
  71. */
  72. define( 'WP_DEBUG', false );
  73. /* Add any custom values between this line and the "stop editing" line. */
  74. /* That's all, stop editing! Happy publishing. */
  75. /** Absolute path to the WordPress directory. */
  76. if ( ! defined( 'ABSPATH' ) ) {
  77. define( 'ABSPATH', __DIR__ . '/' );
  78. }
  79. /** Sets up WordPress vars and included files. */
  80. require_once ABSPATH . 'wp-settings.php';