WordPress looks for a readable wp-config.php file in the site root. If the file is absent, unreadable, or misnamed, WordPress stops loading and shows a missing-file error.
The error appears before any theme or plugin code runs. It prevents database connection and blocks access to the admin area.