What are the right Timezone for the current server?

Avatar
  • Answered
I'm having issues with the Wordpress Social Login plugin, keeps saying:

? DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the dat

Why ask about this here? because I use the same plugin in other hosting companies and is just here where i have this issue, why? there's a configuration on the time zone that I need to know?
Avatar
Arn
Hello Ozonostudio, Sorry for the problem with your timezone in your WordPress plugin. If your plugin is having problems recognizing the timezone, then it may have to do with the local PHP.INI file. There are normally two places you can change timezones for your WordPress installation. One is in the General Settings of your WordPress admin. The other is in the local php.ini file that applies to your installation. You can find out how to change this file by reviewing this article. If you don't have a local php.ini file, you can easily obtain a copy by simply going to the PHP Configuration option in your cPanel and clicking on update. Based on the domain you associated with this question, the server is in the Pacific time zone of the United States. You can see a list of timezones to use in the PHP.INI in this link. I hope that helps to answer your question! If you require further assistance, please let us know! Regards, Arnel C.