Learn about Centmin Mod LEMP Stack today
Become a Member

Zone info settings

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Mar 25, 2015.

  1. pamamolf

    pamamolf Well-Known Member

    4,003
    420
    83
    May 31, 2014
    Ratings:
    +812
    Local Time:
    4:23 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hi

    What are the correct values to set for Athens here?

    Code:
    ZONEINFO=Etc/UTC
    and here?

    Code:
            
            echo "date.timezone = Australia/Brisbane" >> ${CUSTOMPHPINIFILE}
        else
            echo "date.timezone = UTC" >> ${CUSTOMPHPINIFILE}
    Thanks

     
  2. eva2000

    eva2000 Administrator Staff Member

    49,875
    11,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,839
    Local Time:
    12:23 AM
    Nginx 1.21.x
    MariaDB 10.x
  3. pamamolf

    pamamolf Well-Known Member

    4,003
    420
    83
    May 31, 2014
    Ratings:
    +812
    Local Time:
    4:23 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Thanks George but i didn't fond any info on how to set :

    ZONEINFO=Etc/UTC
    and
    echo "date.timezone = UTC" >> ${CUSTOMPHPINIFILE}
     
  4. eva2000

    eva2000 Administrator Staff Member

    49,875
    11,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,839
    Local Time:
    12:23 AM
    Nginx 1.21.x
    MariaDB 10.x
  5. pamamolf

    pamamolf Well-Known Member

    4,003
    420
    83
    May 31, 2014
    Ratings:
    +812
    Local Time:
    4:23 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok i got the info for the custom php.ini but no related info for Etc/UTC :

    ZONEINFO=Etc/UTC
    and
    echo "date.timezone = UTC" >> ${CUSTOMPHPINIFILE}
     
  6. eva2000

    eva2000 Administrator Staff Member

    49,875
    11,487
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,839
    Local Time:
    12:23 AM
    Nginx 1.21.x
    MariaDB 10.x
    you set date.timezone in custom php.ini and restart php-fpm service