# Where is the configuration that used to be on local.php?

**URL:** <https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [February 15, 2023, 7:46pm UTC](https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052 "2023-02-15T19:46:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [February 15, 2023, 7:46pm UTC](https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052/1 "2023-02-15T19:46:05Z")

</div>

**Your software**  
_My PHP version is_ : 8.0  
_My MySQL/MariaDB version is_ : MySQL 8.0

**Updating/Installing Errors**  
_I am_ Installing and then trying to configure by editing the generated local.php file.

**Installer Type:** Zip file from GitHub releases:

> **[Release Mautic Community 4.4.5 · mautic/mautic](https://github.com/mautic/mautic/releases/tag/4.4.5)**
>
> What's Changed
> 🚨 Important notice
> Hubspot is sunsetting their API keys in favour of Private Apps - this PR introduces the ability to use Private Apps. You will need to create a Private App and upda...

**Your problem**

After a fresh 4.4.5 install, I went to the local.php file to configure my Mautic.  
I found there just over 35 lines, instead of the usually 400+ or even 700+ lines in some other installs.

Is this a bug on 4.4.5 and the file being generated on my 4.4.5 is bad? Please let me know so I can open a bug report on Github.

or is it the new way of doing things?  
If this is the new way… where are now all the configuration settings that were previously found in local.php?

**Steps I have tried to fix the problem** 🙂  
Reinstalled Mautic 4.4.5 three times to see if I got a different local.php file generated, to no avail…

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [February 15, 2023, 10:12pm UTC](https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052/2 "2023-02-15T22:12:32Z")

</div>

Can you try this:  
/mautic\_path/app/config/local.php

This worked for me using 4.4.6.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 16, 2023, 11:41am UTC](https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052/3 "2023-02-16T11:41:04Z")

</div>

Have you opened Mautic and saved your configuration?

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [February 16, 2023, 3:05pm UTC](https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052/4 "2023-02-16T15:05:32Z")

</div>

Thank you @tobsowo and @silavapi,

Going into the UI/configuration/settings and hitting the save button did the trick indeed.

My local.php is now a healthy 700+ lines, as expected.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [February 18, 2023, 3:06am UTC](https://forum.mautic.org/t/where-is-the-configuration-that-used-to-be-on-local-php/27052/5 "2023-02-18T03:06:04Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
