ERROR: The file 'wp-config.php' already exists

0 votes

I clicked on the 'Update WordPress' link in the admin dashboard of my WordPress site, and I am getting this error:

"The file 'wp-config.php' already exists. If you need to reset any of the 
configuration items in this file, please delete it first. You may try installing now."

When I try to click the "installing now" link, it seems that WordPress is installing fresh. I want to keep all of the content of my WordPress installation.

I have tried to change the name of the wp-config.php file but that didn't do anything.

May 8 in PHP by kartik
• 27,180 points
520 views

1 answer to this question.

0 votes

Hello,

Try to display the website first on the incognito tab. If it works correctly, clear the browser cache.

Once the page refresh has been completed, the website will appear.

You can use the following shortcuts to clear the browser cache.

Windows: Ctrl + F5 Mac OS: CMD + Shift + R

Thank You!!

answered May 8 by Niroj
• 58,540 points

Related Questions In PHP

0 votes
0 answers
0 votes
1 answer

How to find the php.ini file from the command line?

Hello @kartik, You can get a full phpinfo() using : php ...READ MORE

answered May 19 in PHP by Niroj
• 58,540 points
231 views
0 votes
1 answer
0 votes
1 answer

What are the vulnerability related to PHP Form?

Hii, The $_SERVER["PHP_SELF"] variable can be used by ...READ MORE

answered Feb 13 in PHP by Niroj
• 58,540 points
147 views
+1 vote
1 answer

How to make anchor tag with routing using Laravel?

Hey @kartik, First you have to go to ...READ MORE

answered Mar 18 in Laravel by Niroj
• 58,540 points
2,183 views
0 votes
1 answer

What is redirection in Laravel?

Named route is used to give specific ...READ MORE

answered Mar 18 in Laravel by Niroj
• 58,540 points
241 views
0 votes
1 answer

How to install Laravel via composer?

Hello, This is simple you just need to ...READ MORE

answered Mar 23 in Laravel by Niroj
• 58,540 points
189 views
+1 vote
1 answer

What are named routes in Laravel and How can specify route names for controller actions?

Hey @kartik, Named routing is another amazing feature of ...READ MORE

answered Mar 23 in Laravel by Niroj
• 58,540 points
2,715 views
0 votes
1 answer

Error:Cannot modify header information - headers already sent by (output started at /some/file.php:12) in /some/file.php on line 23

Hello @kartik, This error message gets triggered when anything is ...READ MORE

answered Sep 16 in PHP by Niroj
• 58,540 points
26 views
0 votes
1 answer

Error:PDOException SQLSTATE[HY000] [2020] No such file or directory in php?

Hello, I checked php -i | grep pdo and noticed ...READ MORE

answered Apr 2 in PHP by Niroj
• 58,540 points
135 views