How to update date.timezone from cPanel
In some situations you may need to change your PHP’s timezone. It can be done by updating the date.timezone variable. One of the common problems is incorrect timezone showing in your Script or Web Application, by updating this value this error can be fixed. Let’s dig in!
Step 1: Log in to cPanel Account with your username and password. Usually it’s on 2083 Port. https://yourdomain.com:2083 or https://yourdomain.com/cpanel. In some hosts you can access cPanel by clicking a link given in the hosting account.
Step 2: Lookout for Heading named SOFTWARE section, then Select PHP Version. Alternatively you can search for PHP in the search box and find Select PHP Version.
PHP Selector
The PHP Selector is a feature of cPanel. It may not be enabled
by your Host Provider. If it's missing you ask your Host Provider.
Step 3 : After going into Select PHP Version page, go to Options Menu.
Step 4: Then Locate the date.timezone and click on the value to edit. For reference you can check your Script or Plugin documentation for the required timezone.
For List of Supported Timezones Visit : https://www.php.net/manual/en/timezones.php
Step 5 : If the selection is successful, you will see a green box with a message confirming your settings are applied.
This is how you can update date.timezone from cPanel
Related Articles
- How to increase the Upload Max FileSize limit in cPanel
- How to enable PHP error reporting in cPanel.
- iPhone SE vs Google Pixel 3a || Make The Right Buy
- Ryzen 3100 and 3300x || Is Intel in trouble?
- Cloudways Vs Siteground – Which Wins The Battle?
- iPhone 11 Pro || The King of iPhone !!!
- iPhone 11 || Close to Perfection !!!
- iPhone XR || A Solid Choice !!!
- iPad, Which One You Choose || A Complete Buyers Guide
- iPhone SE || Apple’s Shockingly Good Value Phone to Beat Android?
- How to enable PHP error reporting in cPanel.
- How to Setup Nameservers & Hostname in Centos Web Panel (CWP)
- How to Install CentOS Web Panel (CWP) on Centos 7
- How To Connect AirPods To A Laptop: Easy Solution
- How To Unlock iPhone SE: 3 Easiest Ways