John.C.Reid Posted July 8, 2016 Share Posted July 8, 2016 I have done a search and did not find an answer that helped. When I log into the server via SSH and type date the response back shows the correct time and timezone. There is no php.ini override in place, but the WHMCS install appears to be stuck on UTC. Since all me searching keeps bringing me back to server time, I am at a loss at how to correct this. Thank you in advance, you help is much appreciated. 0 Quote Link to comment Share on other sites More sharing options...
AffordableDomainsCanada Posted July 8, 2016 Share Posted July 8, 2016 (edited) You can set this in your configuration.php file in the root folder of your WHMCS install. Add date_default_timezone_set('America/Toronto'); *Changing America/Toronto to the timezone you desire. Edited July 8, 2016 by AffordableDomainsCanada 1 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted July 9, 2016 Share Posted July 9, 2016 This is likely happening because you've got the php date set in a different timezone than your WHMCS install If WHMCS is the only thing going on, then the above post will work. IF you've got other things in your server, then you need to establish a default date/timezone that is appropriate in the global php.ini file. Otherwise, this will happen continually 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 12, 2016 WHMCS Support Manager Share Posted July 12, 2016 Hi, You can check the Utilities > System > PHP Info page in your WHMCS Admin area. This will show you which configuration file is loaded for the WHMCS installation and also the 'Default timezone' value in that php.ini file. You'll now know which PHP configuration to edit and set the appropriate timezone setting to match your server's time. Related documentation: http://docs.whmcs.com/Changing_Timezone 1 Quote Link to comment Share on other sites More sharing options...
Patty Posted October 2, 2017 Share Posted October 2, 2017 Mine was running 4 hours ahead! Tks for this topic and the solution. It would be a good idea to be able to configure WHMCS time in the admin, like WordPress does. Here's a suggestion for a future version. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted October 2, 2017 Share Posted October 2, 2017 It might be a good idea, but they'd be better off fixing bugs than adding new features right now 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.