wp-config.php is WordPress's settings file, holding among other things the details to connect to the database and a few secret keys. WordPress reads it first, on every page.
In plain words
wp-config.php says where your database is, which name and password WordPress uses to sign in, and the keys that secure sign-in sessions. You can also put settings in it, such as error messages on or off, or how many old versions of a post WordPress keeps.
Because it holds passwords, this file must never be public, and never sit in a shared folder or a public repository. One typo in it and your whole site shows a white page. So change it carefully, and keep a copy first.
How it works at Cubli
On Cubli you rarely need to open wp-config.php. PHP settings such as the upload size and the memory per request are changed in the dashboard, error messages go to Logs with one switch, and when you turn on the object cache, Cubli sets up the Redis settings itself.





