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

Related Articles

Mass Update Domain Registrar Using SQL Query

This article provides a guide to mass update domain registrar using SQL query in WHMCS. To bulk...

Slow WHMCS Domain Spinner WHOIS Lookup

Slow WHMCS domain lookups are a source of frustration for some clients, as this, in turn, leads...

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 Login To The WHMCS Admin Area

This article provides a guide demonstrating how to login to the WHMCS Admin Area. Prerequisites...