Get the most out of your Centmin Mod LEMP stack
Become a Member

Zone info settings

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

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,983
    412
    83
    May 31, 2014
    Ratings:
    +799
    Local Time:
    5:39 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

    48,432
    11,100
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,275
    Local Time:
    12:39 AM
    Nginx 1.21.x
    MariaDB 10.x
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,983
    412
    83
    May 31, 2014
    Ratings:
    +799
    Local Time:
    5:39 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

    48,432
    11,100
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,275
    Local Time:
    12:39 AM
    Nginx 1.21.x
    MariaDB 10.x
  5. pamamolf

    pamamolf Premium Member Premium Member

    3,983
    412
    83
    May 31, 2014
    Ratings:
    +799
    Local Time:
    5:39 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

    48,432
    11,100
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,275
    Local Time:
    12:39 AM
    Nginx 1.21.x
    MariaDB 10.x
    you set date.timezone in custom php.ini and restart php-fpm service