Synchronize Server Time with WHMCS

This tutorial provides a step-by-step guide for synchronizing server time with WHMCS billing software installation. If you are facing a situation in which your server time is not synchronized to WHMCS, this tutorial will quickly solve this frustration.

WHMCS Uses Incorrect Timezone

In some cases, the WHMCS software inexplicably uses wrong server timezone. Despite having php.ini, the WHMCS software reflects incorrect server time and causes mistimed automations (Daily Crons, Domain Sync, etc).

Synchronize Server Time with WHMCS (Workaround)

When this is the case. edit the configuration.php file in the root WHMCS installation, adding the following text to the end of the file:

date_default_timezone_set('America/Chicago');

Edit the timezone to the appropriate timezone of your server. Save the file. Timezones should be tz format!

Your WHMCS timezone is now synchronized with the server clock.

  • server time, clock, timezone
  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Remove STRICT_TRANS_TABLES in SQL Mode for WHMCS

WHMCS, a billing and support software for the web hosts, may experience a conflict with default...

Get WHMCS Support

This article provides a guide for how to get WHMCS support for licenses purchased from Rad Web...

How to Enable Subdomain Options for a Product in WHMCS

This article provides a guide for how to enable subdomain options for a product in WHMCS. While...

How to Setup WHMCS Development and Testing Environment

Creating a testing and development environment will let you verify all of your customizations...

Video: Setup Support Departments in WHMCS

This video tutorial provides Step-by-Step instructions for setting up the support departments in...