php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47804 hm
Submitted: 2009-03-27 10:15 UTC Modified: 2009-03-27 10:17 UTC
From: karni at world-of-requiem dot de Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3CVS-2009-03-27 (snap) OS: win xp Servicepack 3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: karni at world-of-requiem dot de
New email:
PHP Version: OS:

 

 [2009-03-27 10:15 UTC] karni at world-of-requiem dot de
Description:
------------
Warnin on display phpinfo();

date

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/Paris' for '1.0/no DST' instead in D:\Programmierung\xampp\htdocs\phpinfo.php on line 2

Reproduce code:
---------------
<?php
phpinfo();
?>

Expected result:
----------------
see description


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-27 10:17 UTC] pajoye@php.net
There is no bug and the error message is clear. Set a TZ in your php.ini.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 03:01:33 2025 UTC