Title: Wp-config-sample-php
Last modified: December 26, 2023

---

# Wp-config-sample-php

 *  [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/)
 * Hello,
 * I have an issue and I really need help. A few months ago we had to terminate 
   our IT company. A few days ago i went into our website and i received this message.
   “
   Sorry, I need a wp-config-sample-php file to work from. Please re-upload this
   file to your wp installation.” The IT consultant created and purchased the domain
   name on behalf of my company. I created the website and pointed it to the URL
   that he created. Currently, he has the site going to her nameservers. Can you
   please advise as to:
    1. What does that error message mean?
    2. How can I find out what caused the error?
    3. How do I go about getting the domain name and relaunching the site.
 * Please advise .
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-config-sample-php-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17302096)
 * The error message states that the WordPress setup cannot find the `wp-config-
   sample.php`. This file is required as the basis for generating wp-config.php.
 * You will probably have to clarify with yourself how this could have happened.
   If you terminate your IT company, which presumably managed the website for you,
   you must have taken over the hosting yourself or at least changed something in
   this regard. We here can’t know that.
 * Apparently, the website has been completely reset. WordPress cannot find a configuration
   file and therefore cannot access a database with the website content. In this
   case, the setup starts. And the setup cannot find the one important file.
 * You could contact your host’s support team for clarification. They may still 
   have backups of the project.
 * If you want to set everything up again, download the ZIP of the current WordPress
   here and reinstall it on the basis: [https://wordpress.org/download/](https://wordpress.org/download/)
 *  [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17302754)
 * A client of mine just had this happen on their website Dec. 23. they are hosted
   with Bluehost. I am wondering if they did some sort of update that triggered 
   this message?
 * **Sorry, I need a `wp-config-sample.php` file to work from. Please re-upload 
   this file to your WordPress installation.**
 *  Thread Starter [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17303115)
 * [@jennsweb](https://wordpress.org/support/users/jennsweb/) how did they resolve
   it?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17303376)
 * I already described possible solutions above. You have to decide which way you
   want to go.
 *  Thread Starter [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17303518)
 * [@threadi](https://wordpress.org/support/users/threadi/), thank you for explaining.
   However, I was asking @Jennweb how did their client fix the issue. There is nothing
   wrong with having multiple solutions.
 *  [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17303836)
 * [@court128](https://wordpress.org/support/users/court128/) Hasn’t been resolved
   yet. My client notified Bluehost and they told her it was “fixed” but when you
   go to the site, it just shows the error message. I am wondering if they did an
   automatice WP update and screwed it up somehow.
 *  Thread Starter [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17305628)
 * [@threadi](https://wordpress.org/support/users/threadi/) From your knowledge 
   of this file. Can you tell me how the file couldve been removed? What steps wouldve
   been taken to complete this action? I am asking because I am trying to figure
   out what happened. Iknow that I didnt remove anything. Thank you for your help
   and guidance.
 *  Thread Starter [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17305630)
 * [@jennsweb](https://wordpress.org/support/users/jennsweb/) I wish there was a
   way for me to send you a private message so i could send you my email address.
   can you pleaseeeeee keep me updated on how your client fixed the issue. This 
   is crazy.
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17305656)
 * The wp-config-sample.php file can be deleted manually (e.g. via FTP), but could
   also be deleted via any plugin (I am not aware of any that do this). It is only
   relevant for the setup, not for the operation of the website, which is why its
   presence after the setup is irrelevant.
 *  Thread Starter [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17305696)
 * This is crazy! Thank you for helping me
 *  Thread Starter [court128](https://wordpress.org/support/users/court128/)
 * (@court128)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17306495)
 * [About Us](https://markofexcellencepa.com/wp-admin/post.php?post=1351&action=edit)—
   Private, Elementor
 * Home- Private, Elementor
 * What did i do to cause the Private? How do I delete it?
 *  [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * (@jennsweb)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17307674)
 * [@court128](https://wordpress.org/support/users/court128/) Sorry but it was taken
   care of internally by their hosting company (Bluehost). I don’t know what they
   did to fix it.

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

The topic ‘Wp-config-sample-php’ is closed to new replies.

## Tags

 * [bluehost](https://wordpress.org/support/topic-tag/bluehost/)
 * [config error](https://wordpress.org/support/topic-tag/config-error/)
 * [update error](https://wordpress.org/support/topic-tag/update-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [jennsweb](https://wordpress.org/support/users/jennsweb/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/wp-config-sample-php-2/#post-17307674)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
