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

Video: Setup Administrative Roles in WHMCS

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

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...

List of Banned Subdomain Prefixes

This article provides suggestions for the Banned Subdomain Prefixes field of WHMCS administrative...

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...