8 responses to “Warning: date(): It is not safe to rely on the system’s timezone settings.”

  1. _randell

    Warning: date(): It is not safe to rely on the system’s timezone settings. http://blog.randell.ph/2010/04/15/warnin

  2. pron

    nope, i still getting the same error…….

  3. pron

    latest php, 5.3.3.

    sure, apache is restarted several times, whole system is also restarted several times…

    on/etc/init.d/httpd status i got error httpd dead but subsys locked, despite the OK message after starting apache.

    pid file from /var/run/httpd/ (or something) is also deleted.

    it looks like there is something with chroot module i installed (also properly, following several manuals).

  4. Miguel G Biedma » Blog Archive » PHP Message: date(): It is not safe to rely on the system’s timezone settings.

    [...] Randell’s Blog Posted December 27th, 2011 in Codeigniter, [...]

  5. Jesus Ortiz

    Tnak’s, the second instruction was the solution in my case!
    (nuSOAP warnings)

  6. Scoobee Doo

    Don’t use quotes when setting the value in php.ini. It should look like:

    date.timezone = Asia/Manila

  7. felipem

    thanks, i could solve :)

Leave a Reply