Server Problems

Website URL

https://Jana.kesug.com

Error Message

Server clock not set according to my time zone (Africa,Lusaka)

Other Information

(other information and details relevant to your question)

Change it here: https://cpanel.infinityfree.com/panel/indexpl.php?option=phpchangeconfig

3 Likes

The clocks on our servers are configured by default to use the EST (UTC-5) timezone.

If you would like your website to use a different time zone, you can configure it for your own website. The PHP Options menu, found both in the client area and the control panel, let you choose the timezone for PHP code.

Note that this only changes the time zone for PHP, not the database, date functions in the database always use the system time. It’s technically not possible to change this for individual users/accounts/databases, so be sure to only generate timestamps from PHP.

There are many reasons why we don’t adjust this by default, including:

  • Determining the time zone of a user can be difficult to do.
  • The timezone you are in right now may not be the time zone that you are normally in.
  • The timezone that you are normally in might not be the timezone that your website should operate in.
  • Visitors to your website may be in a different time zone than you are, or even in multiple time zones.
7 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.