File: //bitnami/wordpress/wp-config.php
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the website, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'bitnami_wordpress' );
/** Database username */
define( 'DB_USER', 'bn_wordpress' );
/** Database password */
define( 'DB_PASSWORD', '998e001baf54b33907d8e35edfa3f9383511eb072fa408ffcd60fbd1d446c34d' );
/** Database hostname */
define( 'DB_HOST', '127.0.0.1:3306' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/**#@+
* Authentication unique keys and salts.
*
* Change these to different unique phrases! You can generate these using
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
*
* You can change these at any point in time to invalidate all existing cookies.
* This will force all users to have to log in again.
*
* @since 2.6.0
*/
define( 'AUTH_KEY', ']u?4NTs!)M/U$MhO7H[)[ `^QcO]RIFi{H^q*|2a<`+aPK*I,%r0lQ@aChbp][ML' );
define( 'SECURE_AUTH_KEY', '&n)DyN&uThu6TD[1>o[3<?J`6ln4Oz1X|uK`n5H07nN8Uf%)pgu;Pn1XS3HO9g?y' );
define( 'LOGGED_IN_KEY', '7.]uYV;@>M&b8qXtzu2+=LW=?kls.Du)j?;{l$7[_SE4Y/xaX$Lm,89z[tPOD3Vs' );
define( 'NONCE_KEY', '/&PB`&}mf@xSU(M=+50*YXYUBym8Nd]uV=Rvm8W; ?4g_l($Z_aEgPuNRZJO~F=^' );
define( 'AUTH_SALT', '>-K6<T$0I7dV X RPXiawgjX9FAiIP1e:Z2.Q~n_t>7$98${B)4W2r;RvYW>I7D2' );
define( 'SECURE_AUTH_SALT', 'Fba-f:GeDi5},/{0!8vw~*Id!r6;dB&o{7;Zq1H|{&l0FB#/2o?=4(&^Qg@,C.Kx' );
define( 'LOGGED_IN_SALT', ';i=lSH?V`NOC?Z<*4=Zi?b:DC8t0Nh2{Ns~B~VrN[nX,y3_f~*nT`N0#T}SdqO{%' );
define( 'NONCE_SALT', 'pm103t|(O-PxEA2Xf_8.%<osEo .-PU]^ DCo%xcU,ak|KLGWx+Qy~~/p2p4MH~Z' );
/**#@-*/
/**
* WordPress database table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*
* At the installation time, database tables are created with the specified prefix.
* Changing this value after WordPress is installed will make your site think
* it has not been installed.
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#table-prefix
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', false );
/* Add any custom values between this line and the "stop editing" line. */
define( 'FS_METHOD', 'direct' );
/**
* The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address.
* If you want to access only from an specific domain, you can modify them. For example:
* define('WP_HOME','http://example.com');
* define('WP_SITEURL','http://example.com');
*
*/
if ( defined( 'WP_CLI' ) ) {
$_SERVER['HTTP_HOST'] = '127.0.0.1';
}
define( 'WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/' );
define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/' );
define( 'WP_AUTO_UPDATE_CORE', 'minor' );
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
/**
* Disable pingback.ping xmlrpc method to prevent WordPress from participating in DDoS attacks
* More info at: https://docs.bitnami.com/general/apps/wordpress/troubleshooting/xmlrpc-and-pingback/
*/
if ( !defined( 'WP_CLI' ) ) {
// remove x-pingback HTTP header
add_filter("wp_headers", function($headers) {
unset($headers["X-Pingback"]);
return $headers;
});
// disable pingbacks
add_filter( "xmlrpc_methods", function( $methods ) {
unset( $methods["pingback.ping"] );
return $methods;
});
}