1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved change time

Discussion in 'Help' started by Winchester, Jan 7, 2018.

  1. Winchester

    Winchester Baby Zombie

    Messages:
    133
    how to change the server's schedule to local time?
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    You mean the time which is displayed in the log?
    Simply find your php.ini (usually at /path/to/your/server/bin/php7/bin/php.ini) and set date.timezone to your timezone http://php.net/manual/en/timezones.php
     
  3. Winchester

    Winchester Baby Zombie

    Messages:
    133
    I just found php.ini-development and php.ini-production made the change in the 2 and it still did not work :(
     
  4. SalmonDE

    SalmonDE Zombie Pigman

    Messages:
    739
    GitHub:
    SalmonDE
    Rename one of the files to php.ini
     
  5. Winchester

    Winchester Baby Zombie

    Messages:
    133
    if I rename them to php.ini they become ema '' Configuration Parameter '' and there is already that file!
     
  6. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    You need to edit the real php.ini
     
  7. Winchester

    Winchester Baby Zombie

    Messages:
    133
    I did not find any file called php.ini =/

    I found this one but it has no option to change timezone
     

    Attached Files:

  8. Winchester

    Winchester Baby Zombie

    Messages:
    133
    Anybody know ?
     
  9. SalmonDE

    SalmonDE Zombie Pigman

    Messages:
    739
    GitHub:
    SalmonDE
    Add the line "date.timezone=YourTimezone" to it
     
    jasonwynn10 and Winchester like this.
  10. Winchester

    Winchester Baby Zombie

    Messages:
    133
    Thank you friend, now it worked. :D
     
    Muqsit likes this.
  11. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    tag this thread as solved so the future readers will know
     
    jasonwynn10 and 0x15f like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.