Title: Overwriting config.php
Last modified: August 19, 2016

---

# Overwriting config.php

 *  [omodudu](https://wordpress.org/support/users/omodudu/)
 * (@omodudu)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/overwriting-configphp/)
 * While updating to WordPress 2.7 I mistakenly deleted my existing config.php. 
   Now I can not log into my page. How do I get to work around this? My backup folder
   is corrupt no thanks to Auto back up plug-in.

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

 *  [mrmist](https://wordpress.org/support/users/mrmist/)
 * (@mrmist)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/overwriting-configphp/#post-928073)
 * If you know the values that were in the wp-config.php then just rename the wp-
   config-sample and put the proper values in place for host, user, password and
   prefix.
 *  Thread Starter [omodudu](https://wordpress.org/support/users/omodudu/)
 * (@omodudu)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/overwriting-configphp/#post-928215)
 * Thanks worked perfect

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

The topic ‘Overwriting config.php’ is closed to new replies.

## Tags

 * [CONFIG.php](https://wordpress.org/support/topic-tag/config-php/)
 * [log-in](https://wordpress.org/support/topic-tag/log-in/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [omodudu](https://wordpress.org/support/users/omodudu/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/overwriting-configphp/#post-928215)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
