WordPress.org

Support

Support » Installation » wp config sample

wp config sample

  • 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’)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)

    @podz

    Support Maven

    What exactly is the error message ?

    “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

    Mark (podz)

    @podz

    Support Maven

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

    Oh! I see. thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp config sample’ is closed to new replies.