How to Set the PHP Timezone

<span class="fa fa-user"></span>
PHILMOREHOST
WHM/cPanel Tutorial
158
0
vps hosting

How to Set the PHP Timezone:
Open your php.ini file with the File Manager in cPanel
Add the following line of code to top of your php.ini file
date.timezone = “US/Central”
Replace “US/Central” with the timezone from here that corresponds to the time you want to display.
Once you have entered the desired time zone, click the Save Changes button to save the file.
Now, you can check your phpinfo.php page to verify the change took place.

timezone
vps hosting

Article Tags

POST A COMMENT.

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Facebook Comments