Title: HELP. wp-config.php file.
Last modified: August 18, 2016

---

# HELP. wp-config.php file.

 *  [ejmr](https://wordpress.org/support/users/ejmr/)
 * (@ejmr)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/help-wp-configphp-file/)
 * Hi!
    ** I`am trying to install wordpress at my local wamp server. In the wp-config.
   php file i have changed this:
 * define(‘DB_NAME’, ‘worldpress’); // The name of the database
    define(‘DB_USER’,‘
   root’); // Your MySQL username define(‘DB_PASSWORD’, ‘worldpress’); // …and password
   define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t
 * **When I trying to install with install.php this comming up: **
 * 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.”, “WordPress › Error”); } require_once(‘../wp-config.php’); require_once(‘./
   upgrade-functions.php’); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else
   $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?> > text_direction)):?
   >
    WordPress
 * ‘.__(‘Already Installed’).’
 * ‘.__(‘You appear to have already installed WordPress. To reinstall please clear
   your old database tables first.’).’
    ‘); switch($step) { case 0: ?>
 * ReadMe documentation at your leisure.’), ‘../readme.html’); ?>
 * ERROR: please type your e-mail address”)); } else if (!is_email($admin_email)){
   die(__(“ERROR: the e-mail address isn’t correct”)); } ?>
 * log in with the username “admin” and password “%2$s”.’), ‘../wp-login.php’, $
   password); ?>
 * Please help me, something is wrong with det config-file?
 * Thanks for a very nice job.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Christopher J. Hradil](https://wordpress.org/support/users/chradil/)
 * (@chradil)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/help-wp-configphp-file/#post-549176)
 * it looks like wp installed itself (mostly), but broke along the way, i would 
   clean out (delete/drop) all tables in the database (also make sure your db user
   has correct permissions), then wipe out all of the WP files in your htdocs/www
   directory (including wp-config.php), then start over with a fresh set of WP files,
   including the creation of a new wp-config.php from wp-config-sample.php
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 4 months ago](https://wordpress.org/support/topic/help-wp-configphp-file/#post-549195)
 * Looks to me like you have not enabled PHP on the webserver.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HELP. wp-config.php file.’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/help-wp-configphp-file/#post-549195)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
