Results 1 to 4 of 4
Thread: php Time problem
-
08-27-2011, 05:01 PM #1Junior Guru Wannabe
- Join Date
- May 2007
- Posts
- 85
php Time problem
Hi guys,
I am getting this error when I am checking phpinfo.php
Warning: phpinfo() [function.phpinfo]: 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 'Europe/Moscow' for 'MSD/4.0/DST' instead in /home/excl/public_html/tonebooks.com/phpinfo.php on line 1
Actually I've already specified the region, but it doesn't help much.
Thanks
-
08-27-2011, 06:53 PM #2Web Hosting Evangelist
- Join Date
- Nov 2009
- Location
- Auckland
- Posts
- 461
Actually it's just a warning, not an error.
Can you try to adjust the logging part from php.ini? Probably change it to E_ERROR.
-
08-27-2011, 07:11 PM #3Newbie
- Join Date
- Feb 2011
- Posts
- 27
-
08-27-2011, 07:58 PM #4Junior Guru Wannabe
- Join Date
- Jun 2011
- Location
- America/Mexico_City
- Posts
- 98
Hello. Also you can assign it with PHP:
Code:<?php date_default_timezone_set("America/Chicago"); ?>
★ⓈⓊⓅⒺⓇ★ⓀⒶⓁⒾⒹ★
Similar Threads
-
Full time/Part time Senior PHP Developer required in India.
By softmaster in forum Employment / Job OffersReplies: 2Last Post: 05-22-2009, 01:24 AM -
Daily, time to time cpu load problem
By McClickson in forum Hosting Security and TechnologyReplies: 12Last Post: 08-11-2007, 11:19 AM -
PHP EST time - Server time CST time
By chightech in forum Programming DiscussionReplies: 2Last Post: 12-14-2004, 03:10 PM -
Annoying Problem: PHP Time Zone Fluctuations
By anile8 in forum Hosting Security and TechnologyReplies: 3Last Post: 06-10-2003, 03:57 PM -
Time Zone Problem in PHP?
By ghost in forum Programming DiscussionReplies: 9Last Post: 05-17-2003, 07:03 PM