Learn about Centmin Mod LEMP Stack today
Become a Member

PHP-FPM TimeZone Setup

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by BoostN, Jan 7, 2015.

  1. BoostN

    BoostN Member

    88
    18
    8
    Aug 19, 2014
    Ratings:
    +22
    Local Time:
    3:31 AM
    1.11.1
    10.0.28
    So after reading it seems php has it's own timezone configuration and does not pull from the server (CentOS in my case). This is probably well known knowledge to most but I'm still pretty new to the configuration side of things on my server.

    So I see I have UTC in my phpinfo file. If I change this, will it require a php-restart? My cron jobs aren't running correctly on XenForo because of the time XenForo is picking up from PHP (I'm assuming).
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,022
    6,586
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,776
    Local Time:
    6:31 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1