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
  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

Video: Installing WHMCS

This video tutorial provides Step-by-Step instructions for installing WHMCS to your web hosting...

Video: How to Change Account Settings in WHMCS

This video tutorial provides Step-by-Step instructions for adjusting your account settings in...

Video: Setup Support Departments in WHMCS

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

Video: Setup Administrative Roles in WHMCS

This video tutorial provides Step-by-Step instructions for setting up administrator roles within...

Video: Enable and Configure Fraud Protection in WHMCS

This video tutorial provides Step-by-Step instructions for enabling and configuring the fraud...