How to change website Timezone using php.ini?

0
259
cPanel timezone

The Timezone that observes the global uniform standard time for legal and social purposes. Timezone is used to know about the time of their country, the time will differ for each latitude. This article explains step by step to change the website Timezone using php.ini.

The following steps used to change Timezone:

  1. Login to cPanel.
  2. Click the File Manager interface on file section.

3. Choose the php.ini file and edit that.

edit the php.ini

4. Write the below in the top of the php.ini file and save it.

date.timezone=”Asia/Kolkata”

5. Now the website’s timezone successfully changed

Note: You will check the website Timezone using phpinfo() function.

LEAVE A REPLY

Please enter your comment!
Please enter your name here