Title: wp-config.php file not exist
Last modified: August 31, 2016

---

# wp-config.php file not exist

 *  Resolved [devanddhiraj](https://wordpress.org/support/users/devanddhiraj/)
 * (@devanddhiraj)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/)
 * In The Latest version Not able to find Wp-config.php. how to setup database.

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196650)
 * This is the long version but give this a read.
 * [https://codex.wordpress.org/Installing_WordPress](https://codex.wordpress.org/Installing_WordPress)
 * It will explain the steps to install WordPress.
 *  [fahad1112](https://wordpress.org/support/users/fahad1112/)
 * (@fahad1112)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196712)
 * wp-config file is in your root directory.
 *  [shootrawau](https://wordpress.org/support/users/shootrawau/)
 * (@shootrawau)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196801)
 * The wp-config.php file is called wp-config-sample.php
 * Just rename the file to wp-config.php
 * It will be in the root directory as fahad112 mentioned
 *  Thread Starter [devanddhiraj](https://wordpress.org/support/users/devanddhiraj/)
 * (@devanddhiraj)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196803)
 * thank you for answers!!
 * i know that there is a wp-onfig-sample.php file. in which how to set config file
   are explained. i am a wordpress developer 2 year. and i know how to edit wp-config-
   sample.php. but my simple question is wp-config.php file not exist in root directory
   why.??
 *  [Christophe](https://wordpress.org/support/users/xerkos/)
 * (@xerkos)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196809)
 * If this is a fresh installation where you just unzip or untar the WordPress package,
   it’s normal you don’t find the wp-config.php. you should only find a wp-config-
   sample.php
 * The wp-config.php file is only created when you start the installation process
   through your browser. this process create the wp-config.php with the information
   you put in the installation process forms.
 * Now if you want to configure your WordPress installation without following the
   installation process through the browser, you have to copy (or rename) yourself
   the wp-config-sample.php to wp-config.php and then set the parameters in this
   file.
 *  Thread Starter [devanddhiraj](https://wordpress.org/support/users/devanddhiraj/)
 * (@devanddhiraj)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196810)
 * thank you.. Christophe..
 *  Thread Starter [devanddhiraj](https://wordpress.org/support/users/devanddhiraj/)
 * (@devanddhiraj)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196811)
 * topic closed

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

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 7 replies
 * 5 participants
 * Last reply from: [devanddhiraj](https://wordpress.org/support/users/devanddhiraj/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/wp-configphp-file-not-exist/#post-7196811)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
