Bae space WP-config Configuration

Source: Internet
Author: User
Tags wordpress database bcms

To upload WP to the BAE space, you need to configure it as follows:

Or click to download the file.

<? PHP
/**
* The base deployments of the WordPress.
*
* This file has the following deployments: MySQL settings, table prefix,
* Secret keys, WordPress language, and abspath. You can find more information
* By visiting {@ link http://codex.wordpress.org/Editing_wp-config.php editing
* Wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during
* Installation. You don't have to use the web site, you can just copy this file
* To "wp-config.php" and fill in the values.
*
* @ Package WordPress
*/

// ** MySQL settings-you can get this info from your web host **//
/** The name of the database for WordPress */
Define ('db _ name', 'database ');

/** MySQL database username */
Define ('db _ user', getenv ('HTTP _ bae_env_ak '));

/** MySQL Database Password */
Define ('db _ password', getenv ('HTTP _ bae_env_sk '));

/** MySQL hostname */
Define ('db _ host', getenv ('HTTP _ bae_env_addr_ SQL _ip '). ":". getenv ('HTTP _ bae_env_addr_ SQL _port '));

/** 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 ','');

/** Bcms queue name */
Define ('bcms _ queue ', 'cloud message key ');

/** # @ +
* 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', 'ivjtyhd [ks_z, MA +; p01 * +? Byj8AGE2-nS '7z n! 75fka <= 7] [+-ai % [uvh>! Z ;');
Define ('Secure _ auth_key ', 'a) tp5v = A} UEX * 8 + UN % psyrp-DB % #2 (1] jfgr | b2h0s2l. '# % w | % BJ ~ 9ob | + ys (A1 ');
Define ('logged _ in_key ', 'lu3 Define ('nonce _ key','m {. c @ 7q9] a4y! Bx: B = ^ u4 .~ Sov {-^ x1mle5drzi #93. bkmvsb | mp1dyjy7x | wdq -');
Define ('auth _ Salt ', '0 [Y5 | FC // vmf) (_ oof7b (ixfmo + 391] Y <$1] + u ?) Eiy09v ~ Irjes/f} ZT ~? BN-Ib ');
Define ('Secure _ auth_salt ', 'zgg? N] f} e/] T # DN {BCP, en {5 | j] 4 *, l @ Ei! Xvch % S * P ?}) VGA [ap + 8 # Z, * p1fle ');
Define ('logged _ in_salt ', 'rav1uq + 5 ftttq + qgi <-73z = 1t0; ^ ga85aer: x = c @!; /E> zbv & PIV & UN ~ /Bbu | '@');
Define ('nonce _ Salt ', 'wvj]> P $ E * 6h2c72lz % Q? Rdyx; v6eu? 'Hb-mpketn' ob '<ne? Bz8 * epst <E @ ^; B )');

/**#@-*/

/**
* 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!
*/
$ Table_prefix = 'wp _';

/**
* WordPress localized language, defaults to English.
*
* Change this to localize WordPress. A corresponding Mo file for the chosen
* Language must be installed to WP-content/ages. For example, install
* De_de.mo to WP-content/ages and set wplang to 'de _ de' to enable German
* Language support.
*/
Define ('plang ', 'zh _ cn ');

/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is stronugly recommended that plugin and theme developers use wp_debug
* In their development environments.
*/
Define ('wp _ debug', false );

/* That's all, stop editing! Happy blogging .*/

/** Absolute path to the WordPress directory .*/
If (! Defined ('abspath '))
Define ('abspath', dirname (_ file __).'/');

/** Sets up WordPress vars and supported ded files .*/
Require_once (abspath. 'wp-settings. php ');

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.