Article ID: 124889, created on Mar 18, 2015, last review on Sep 7, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


Roundcube log shows the following error in /usr/share/psa-roundcube/logs/errors:

PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Singapore' for 'SGT/8.0/no DST' instead' in /usr/share/psa-roundcube/program/include/ 


Timezone is not properly set on the server.


Set timezone in Roundcube php.ini file like below:

    # cat /etc/psa-webmail/roundcube/php.ini | grep date

    date.timezone =Asia/Singapore

Search Words

It is not safe to rely on the system's timezone settings

date_default_timezone_set() function

plesk roundcube can't sent email

roundcube signature

roundcube mail


a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF