Synchronize Server Time with WHMCS

If you are facing a situation in which your server time is not synchronized to WHMCS, this tutorial will quickly solve this frustration.

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

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 appropropriate desired timezone of your server. Save the file.

Your WHMCS timezone is now synchronized with the server clock.

Was this answer helpful?

 Print this Article

Also Read

Video: Enable and Configure Fraud Protection in WHMCS

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

Video: Setup WHMCS Cron Job for Task Automation

This video tutorial provides Step-by-Step instructions for setting up the WHMCS cron job to...

Video: Installing WHMCS

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

Video: Enable and Configure Payment Gateways in WHMCS

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

Video: Setup Support Departments in WHMCS

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