Topic: Can I move config_db file to a safer folder?

Hellosss, I just installed FA on a VPS which also runs a few other websites and databases. I notice that config_db.php - which has access info to MySQL - is located on the root folder of FA. Just to improve the security of this file, I'd like to move to a safer folder on the server - and update FA script(s) which requires config_db.php.

Any thoughts?

2 (edited by mckenzie 10/29/2026 02:40:03 pm)

Re: Can I move config_db file to a safer folder?

Your FA should be set up with proper directories such as  (www - examplecompany - com/public).  On the same peer level as public you should have 'folders' for config file, etc.  You put the config_db.php in there.  You NEVER want to put it in a accessible directory (folder). Clear as mud?

Can you believe I actually got a 'warning' from this site about posting with a 'link' in my text which I then circumvented with dashes. Seriously?  It's 2026 on the verge of 2027 and we do things right out of circa 2005.