0 like 0 dislike
1.3k views
in Education & Reference by

ERROR 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. We selected ‘UTC’ for ‘UTC/0.0/no DST’

1 Answer

0 like 0 dislike
by
 
Best answer

SOLUTION

Add php timezone:

nano +639 /etc/php.ini

Uncomment date.timezone =

OR

add the following line

date.timezone = "America/New_York"  

Related questions

0 like 0 dislike
1 answer 177 views
0 like 0 dislike
2 answers 951 views
0 like 0 dislike
1 answer 138 views
0 like 0 dislike
2 answers 136 views
0 like 0 dislike
1 answer 407 views
1 like 0 dislike
2 answers 97 views
asked Sep 7, 2017 in Education & Reference by Simmi (640 points)
0 like 0 dislike
1 answer 328 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

...