WordPress.org

Forums

wp config sample (5 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    I have added my details to the file but it still doesn't work, have I missed out some details I need to change?
    WordPress's config file **/
    /** http://wordpress.org/ **/
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', '*******'); // Your MySQL username
    define('DB_PASSWORD', '********'); // ...and password
    define('DB_HOST', 'mysql'); // 99% chance you won't need to change this value
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'
    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    /* Stop editing */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define('ABSPATH', dirname(__FILE__).'/');
    // Get everything else
    require_once(ABSPATH.'wp-settings.php')

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    What exactly is the error message ?

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    "There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file."
    I uploaded everything

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Ah.. save your edited 'wp-config-sample.php' as 'wp-config.php' and you will be fine.

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    Oh! I see. thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.