# Your default timezone is not supported by PHP. Check for typos in your PHP configuration

**URL:** <https://forum.mautic.org/t/your-default-timezone-is-not-supported-by-php-check-for-typos-in-your-php-configuration/36220>\
**Category:** Product Support\
**Created:** [July 29, 2025, 2:58pm UTC](https://forum.mautic.org/t/your-default-timezone-is-not-supported-by-php-check-for-typos-in-your-php-configuration/36220 "2025-07-29T14:58:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edisonkrs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/edisonkrs/32/14205_2.png) [@edisonkrs](https://forum.mautic.org/u/edisonkrs)\
**Post date:** [July 29, 2025, 2:58pm UTC](https://forum.mautic.org/t/your-default-timezone-is-not-supported-by-php-check-for-typos-in-your-php-configuration/36220/1 "2025-07-29T14:58:15Z")

</div>

**Your software**  
My Mautic version is: 6.0.3  
My PHP version is: PHP 8.3.23  
My Database type and version is: mariadb 10.5

**Your problem**  
I’m deploying Mautic in production using the official Docker image mautic:6.0.3-apache. I’m encountering a specific timezone validation issue that occurs during backup restoration:

Fresh Installation Behavior:  
Default timezone: UTC (initial setup)  
After changing to “America/Sao\_Paulo” via interface:  
Works perfectly with no warnings

Backup Restoration Problem:  
When restoring both /html files and database:  
app/config/local.php shows correct America/Sao\_Paulo timezone  
Mautic displays error:  
“Your default timezone is not supported by PHP. Check for typos in your PHP configuration.”

Temporary workaround:  
If I manually set UTC in local.php before accessing Mautic  
Then change back to “America/Sao\_Paulo” after login  
The error disappears

These errors are showing in the log:  
Your default timezone is not supported by PHP. Check for typos in your PHP configuration.

Steps I have tried to fix the problem:  
Docker-level Configuration:

- Created symbolic link in docker-compose: bash -c "ln -sf /usr/share/zoneinfo/America/Sao\_Paulo /etc/localtime
- Set environment variables: TZ: America/Sao\_Paulo, PHP\_INI\_VALUE\_DATE\_TIMEZONE: “America/Sao\_Paulo”

PHP Configuration:

- Modified multiple PHP ini files in docker-compose: /usr/local/etc/php/conf.d/timezone.ini, /usr/local/etc/php/php.ini

---

<div class="post-metadata">

**Author:** ![mneumann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mneumann/32/2512_2.png) [@mneumann](https://forum.mautic.org/u/mneumann)\
**Post date:** [August 1, 2025, 11:20am UTC](https://forum.mautic.org/t/your-default-timezone-is-not-supported-by-php-check-for-typos-in-your-php-configuration/36220/2 "2025-08-01T11:20:33Z")

</div>

I had the same error installing Mautic 4 with docker. It aborted installation because of this error, and I did many installs without this error in the past.

---

<div class="post-metadata">

**Author:** ![edisonkrs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/edisonkrs/32/14205_2.png) [@edisonkrs](https://forum.mautic.org/u/edisonkrs)\
**Post date:** [August 1, 2025, 12:05pm UTC](https://forum.mautic.org/t/your-default-timezone-is-not-supported-by-php-check-for-typos-in-your-php-configuration/36220/3 "2025-08-01T12:05:54Z")

</div>

I tested with other timezones (like America/Chicago) and the error did not occur. When testing with any Brazilian timezone (e.g., America/Sao\_Paulo, America/Bahia, etc.), the error always happened.
