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:
- Login to cPanel.
- Click the File Manager interface on file section.
4. Write the below in the top of the php.ini file and save it.
5. Now the website’s timezone successfully changed
Note: You will check the website Timezone using phpinfo() function.