• Hello,

    well, i’m trying to create a new website for my business and i created a subbomain named site.hectorsecurity.gr and started thw WordPress Installation process like i’m doing it my last almost 10 years!

    At first i faced for first time of all the years i’m using WordPress a problem with my wp-config.php file. The problem was that WordPress couldn’t create that file by itself. so i did it manually using the wp-config-sample.php file. After editingthe file as i supposed to be edited in order to work (filling the MySQL Databse informations) i saved it as a new file named wp-config.php without actally deleting the wp-config-sample.php, just in case i need it for feature use.

    Now the problem i can’t file the solution is that: After refreshing the the page to continue the WordPress installation, i got a 404 Error from the browser. That The file named setup-config.php in wp-admin forlder in my root dictionary not found. However, the file is listed, and the permissions are correct (setted at 0644).

    It’s my first time i see that kind of error and i can’t fine any solution.

    Also, i have a Linux Shared Web Hosting Service from a Hosting Provider Company. Contacted with the company support team and they informed me that everyting seems to be ok with their server configurations. I’m also using PHP 7.4 right now. I tried it on PHP 7.3 but the same error come up again. I don’t know if there is any PHP Extensions i must enable or disable. Just in case i need to inform you that when i changed the PHP Version for my websites, i did not make any changes on PHP Extensions.

    I hope you now have a clear view of my situation and conditions to give me a solution for this problem. But you can ask if i forgot something.

    Thanks in advance!
    ~Antonis Loizos

    • This topic was modified 3 years, 5 months ago by antonisloizos.
Viewing 3 replies - 1 through 3 (of 3 total)
  • @antonisloizos
    Above the wp-config.php there wp-config-sample.php copy it paste it in wp-config.php add your database name, database user name and user password

    WP-Expertise.net

    • This reply was modified 3 years, 5 months ago by Santino Mel.

    Did you tried to install WordPress from Softaculous yet? It’s provide easy to install WordPress experience. Almost, all hosting companies offer this on their control panel.

    Also, for manual installation, if you are unable to install the WordPress, and if the WordPress is failed to write your entered value on wp-config.php file, then check the file have written permission or not. For most cases, this happens dur to permission issue.

    If your hosting provider provided you cPanel, then login to cPanel>File Manager>Goto public_html>select wp-config.php file>on the upper side of the page you will see a permission button>edit the permission.

    Thanks.

    Hi @antonisloizos,

    You will be redirected to site-url/wp-admin/setup-config.php when wordpress cannot find wp-config.php file in you website’s root directory.

    You can create wp-config.php manually from the sample file which comes with the standard WordPress. Its named wp-config-sample.php. Just rename it to wp-config.php and edit following lines to reflect your database settings:

    
    define('DB_NAME', 'database_name_here');
    
    define('DB_USER', 'username_here');
    
    define('DB_PASSWORD', 'password_here');
    
    define('DB_HOST', 'localhost');
    

    If you don’t have wp-config-sample.php file you can get the file from the latest WordPress archive.”

    Let me know if my answer can help you solve your issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not found setup-config.php’ is closed to new replies.