My Oracle Support Banner

Error "It is not safe to rely on the system's timezone settings" when testing Mobility installation (Doc ID 1489432.1)

Last updated on MAY 16, 2021

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information in this document applies to any platform.


 I am getting the following message when testing my mobility installation

[mobility@mobility mobilityserver]$ php symfony mobilityserver:testInstall --env=prod

PHP Warning:  date(): 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.

How can I solve it?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.