WHMCS time setting

  

Whmcs background time is not correct. And the user record in the background record is not very accurate. So. Look around for the time setting of WHMCS, but I can't find it. Because my own one gives The time on the US VPS opened by myself is the Asia/Shanghai time zone, and the setting in php.ini is also Asia/Shanghai. I haven't found a problem for a long time. So I found the answer in google.

Edit configuration.php;

In the last insertion
date_default_timezone_set('Asia/Shanghai');


Problem solving...! Write it out to friends for reference. Also avoid I forgot myself later

Copyright © Windows knowledge All Rights Reserved