# Where should I put the configuration files

**URL:** <https://forum.infinityfree.com/t/where-should-i-put-the-configuration-files/89731>\
**Category:** Hosting Support\
**Created:** [February 8, 2024, 5:54pm UTC](https://forum.infinityfree.com/t/where-should-i-put-the-configuration-files/89731 "2024-02-08T17:54:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![YT\_Xaos](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/yt_xaos/32/45201_2.png) [@YT\_Xaos](https://forum.infinityfree.com/u/YT_Xaos)\
**Post date:** [February 8, 2024, 6:08pm UTC](https://forum.infinityfree.com/t/where-should-i-put-the-configuration-files/89731/5 "2024-02-08T18:08:03Z")

</div>

Yes, you can also follow this guide:

> [@A Full Guide to Using PHP Configuration Files for Best Practice](https://forum.infinityfree.com/t/a-full-guide-to-using-php-configuration-files-for-best-practice/89494):
>
> In this article, we will cover how to set up a secure PHP configuration file. This article will be more helpful for custom coders. So what is a PHP configuration file? Using PHP as a configuration file is a method to pass configuration information to applications. They are used to store sensitive information like API keys, database connection strings, and other configuration details outside of your codebase. The idea is to separate configuration from code, making it easier to manage and more se…

---

_[View the full topic](https://forum.infinityfree.com/t/where-should-i-put-the-configuration-files/89731)._
