php date error

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
timski
Forum Newbie
Posts: 1
Joined: Sat Apr 11, 2009 7:03 pm

php date error

Post by timski »

hi peeps a newbie here just got this error on phpinfo.php file

Strict Standards: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/London' for '1.0/DST' instead in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\phpinfo.php on line 2

how do i correct this thanks
:-)
Post Reply