Claim your Biolink Click Here
0 like 0 dislike
1.4k views

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’

in Education & Reference by | 1.4k views

1 Answer

0 like 0 dislike
Best answer

SOLUTION

Add php timezone:

nano +639 /etc/php.ini

Uncomment date.timezone =

OR

add the following line

date.timezone = "America/New_York"  
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
2 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer

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

1,310 questions
1,471 answers
569 comments
4,809 users