Support » Installing WordPress » wp-config.php

  • i looked the the past entries, but alas my question was not answered. please hope me.
    step 1: download and extract wp 1.2.1
    step 2: update wp-config-sample.php
    define(‘DB_NAME’, ‘rxreeddb’);
    define(‘DB_USER’, ‘rxreed’);
    define(‘DB_PASSWORD’, ‘******’);
    define(‘DB_HOST’, ‘’);
    save as wp-config.php
    step 3: upload
    step 4: wp-admin/install.php
    You also need to set up the database connection information in wp-config.php
    step 5: go to wp-admin/setup-config.php
    repeat…same error.
    step 6: uninstall and re-do… same result.
    step 7: go to wordpress support forum

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


    Support Maven

    Are you uploading ‘wp-config.php’ to the same directory as ‘wp-layout.css’ and doing so in ASCII mode ?


    If you’re manually creating the wp-config.php you shouldn’t touch setup-config.php.

    when i go to install.php, i receive a string of messages before the wordpress logo:
    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.”); require_once(‘../wp-config.php’); require(‘upgrade-functions.php’); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; ?>
    hide_errors(); $installed = $wpdb->get_results(“SELECT * FROM $tableusers”); if ($installed) die(__(‘
    You appear to already have WordPress installed. If you would like to reinstall please clear your old database files first.
    ‘)); $wpdb->show_errors(); switch($step) { case 0: ?>
    Welcome to WordPress. We’re now going to go through a few steps to get you up and running with the latest in personal publishing platforms. Before we get started, remember that we require a PHP version of at least 4.1.0, you have . Look good? You also need to set up the database connection information in wp-config.php. Have you looked at the readme? If you’re all ready, let’s go!
    Step 1

    Mark (podz)


    Support Maven

    “st 4.1.0, you have . Look “
    You’ve not got PHP installed, so WP can’t install.
    There should be a number after the word ‘have’ ..

    i assumed it was part of the dreamhost package.

    dreamhost faq:
    What’s PHP?
    PHP is a scripting language like ASP, which allows you to make dynamic web pages quickly and easily.
    PHP support is a standard feature for all DreamHost web hosting accounts.

    I am not “technically savvy” enough to answer this question, but I throw it out as a possible reason for Anon’s woes. Looks like dreamhost defaults to running PHP as a CGI rather than as an Apache module, but the user can change it. Could this be the problem?

    How do I switch my PHP between running as a CGI and an Apache module?
    Of course you’ve already read all about the differences in PHP-CGI and PHP as an Apache module, right? And you know that the default set up is as PHP-CGI, which is heavily preferred, right?
    If you still want to change your PHP setup, here’s how!
    * Go to the “Domains > Web” area of the web panel.
    * Click the “Edit” link for the http(s) service for your domain you’d like to switch PHP’s type on.
    * Underneath the “Fully Hosted Domain” section that comes up, there is a checkbox which says “Run PHP as a CGI?”. Just uncheck (or check) that, and then submit that page!
    Within about a half hour, your PHP setting will be changed for your domain!

    Moderator James Huff


    it is part of the DreamHost package, and my three are working just fine. Are you trying to upload the files into a cgi-bin folder? A lot of people make that mistake and with DreamHost it simply won’t work. Try putting the ‘wordpress’ folder (with all the files into it) inside your “” folder. This will put the files at (this is how I did mine).

    it MUST be something at dreamhost. i have contacted customer support.
    thanks tons for the tips. i changed the php settings. the wordpress folder is saved in the DB_HOST is correct, yes?
    guess i’ll find out tomorrow when i hear from dreamhost.

    Moderator James Huff


    It looks right. All the info comes from your MySQl manager, so assuming that’s correct, you’ve done everything right.

    dreamhost cannot comment on 3rd party software. i have contacted this guy

    There was a problem accessing the mysql database. The folks at DreamHost fixed it quickly and all went smoothly after.
    Thanks again for all the tips and especially to Robert at wombatnation. All DreamHost users should utilize his tips.
    He suggested that I check the db connection at:
    Once I figuered out that wp couldn’t reach the database, all came clear.

    Hmm. I’m trying to migrate my blog over to dreamhost, and I can’t reach the database with my WP install, though I can reach it with some other software I have installed. The settings are all correct… Frustration.

    Ok, the issue is that I had my psnGallery plugin active, and when I tried to connect to my blog, it tried to find my Coppermine database, which I haven’t migrated over yet, and returned the error that my database settings were incorrect.
    Sorta fixed now, moving my coppermine stuff over as we speak.

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