There are certain scenarios when you may be asked to change your PHP configuration. Specifically, you may be directed to edit a file on your server called php.ini and to change your PHP’s timezone (date.timezone).
What is the date.timezone PHP Setting?
date.timezone is a setting managed through the PHP setting which set your PHP’s script timezone. This helps when the time is showing incorrectly in scripts, and applications, setting the timezone may resolve your issue
How to Change the date.timezone in cPanel
Watch the video tutorial, or continue following the step-by-step instructions in this tutorial.
While do not allow direct changes to PHP.ini on our servers. However, PHP configuration changes can be made from cPanel by following these steps:
1) Log into cPanel.
2) Look for the SOFTWARE section and click on Select PHP version
3) Click on the Options link in the new window.
Struggling with support and website problems? ChemiCloud is the hosting solution designed to save you time and money! 🤓 Check out our web hosting plans!
4) Here, you can locate the date.timezone, and type in the value you require.
5) Once you’ll do any changes, please do a left-hand side click anywhere outside the dropdown or text input box. If the change was successful, you will see a green box with a message which will confirm that the change has been applied.
That’s all! Now you know how to change the date.timezone in cPanel.
If you enjoyed this tutorial, then you’ll love our support! All ChemiCloud’s hosting plans include 24/7 support from our fantastic support team. Check out our web hosting plans and have your website migrated for free today!