wp-config.php 2.4 KB

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