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.

Goal

 I am getting the following message when testing my mobility installation

[mobility@mobility mobilityserver]$ php symfony mobilityserver:testInstall --env=prod --host=ms1.example.com:8001

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?

Solution

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
Goal
Solution

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