How to change date.timezone parameter for PHP?

Follow

Comments

3 comments

  • Avatar
    Ehud Ziegelman (Edited )

    Hi Yulia Plokhotnikova,

     

    Should or shouldn't time zone be in quotes?

    date.timezone = "Asia/Jerusalem"

     

    Where else in addition to Plesk->Tools->Time Settings can we find timezone configured?

    wp-config?

    WordPress?

    Additional places?

    Which one of the above superseds?

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    Hello @Ehud Ziegelman,

    no quotes needed for PHP date.timezone parameter. I will check the other question and let you know.

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

     @Ehud Ziegelman,

    timezone specified in PHP Settings is site's PHP.info page, while time specified in Wordpress side is time that is displayed on Wordpress admin dashboard side, for example, timing for new posts:https://wordpress.org/support/article/formatting-date-and-time/

    From Plesk standpoint, only the timezone in PHP Settings (phpinfo.php) is applicable for a site. Other ways to change timezone for a site are not related to Plesk.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request