# Which is the right time zone for the host and the PHP Configuration?

**URL:** <https://forum.mautic.org/t/which-is-the-right-time-zone-for-the-host-and-the-php-configuration/11686>\
**Category:** Development\
**Created:** [November 15, 2019, 5:40pm UTC](https://forum.mautic.org/t/which-is-the-right-time-zone-for-the-host-and-the-php-configuration/11686 "2019-11-15T17:40:49Z")\
**Posts on this page:** 4\
**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:** [November 15, 2019, 5:40pm UTC](https://forum.mautic.org/t/which-is-the-right-time-zone-for-the-host-and-the-php-configuration/11686/1 "2019-11-15T17:40:49Z")

</div>

Hi guys, I saw the recommended timezone is UTC so Mautic can then decide times for individual contacts based on their local time.

However this warning appears on new installs: “The date.timezone setting is not set in your PHP configuration. Mautic has set the default timezone to ‘UTC’ but we suggest setting this in your PHP configuration.”

Which is the correct way of defining time zone for both the host and PHP?

---

<div class="post-metadata">

**Author:** ![alexhammer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexhammer/32/14525_2.png) [@alexhammer](https://forum.mautic.org/u/alexhammer)\
**Post date:** [February 25, 2020, 4:13pm UTC](https://forum.mautic.org/t/which-is-the-right-time-zone-for-the-host-and-the-php-configuration/11686/2 "2020-02-25T16:13:18Z")

</div>

I was wondering about that also in every installation. Even though I changed the timezone in php.ini it shows the same warning during installation.  
Any ideas?

---

<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 25, 2020, 4:23pm UTC](https://forum.mautic.org/t/which-is-the-right-time-zone-for-the-host-and-the-php-configuration/11686/3 "2020-02-25T16:23:20Z")

</div>

Hi @alexhammer I’d recommend you take a quick look at your System Info and see which php.ini file is actually being loaded.

Take a look at this thread I posted on another topic: [Asset size wont' change](https://forum.mautic.org/t/asset-size-wont-change/12843/3)

Sometimes, it might be that you’ve set the value in a php.ini which is not actually being loaded by Mautic (it has caught me out so many times!)

---

<div class="post-metadata">

**Author:** ![alexhammer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexhammer/32/14525_2.png) [@alexhammer](https://forum.mautic.org/u/alexhammer)\
**Post date:** [February 25, 2020, 4:26pm UTC](https://forum.mautic.org/t/which-is-the-right-time-zone-for-the-host-and-the-php-configuration/11686/4 "2020-02-25T16:26:06Z")

</div>

Thank you for the quick response! I’ll check it out!
