How to change the timezone of your host?
To change the time zone of your hosting, you can follow these steps:
1. Access the cPanel:
-
Log in to your cPanel account.
2. Locate the PHP Selector:
- Find and click on "Select PHP Version" or "MultiPHP Manager," depending on the version of cPanel you are using.
3. Select the PHP Version:
-
If you clicked on "Select PHP Version," choose the PHP version in use and click on "Options."
4. Configure date.timezone:
-
In "Select PHP Version," scroll down until you find the date.timezone option.
-
If you are in "MultiPHP Manager," go to the PHP settings section and look for date.timezone.
5. Set the Time Zone:
- Set the value of date.timezone to the desired time zone. For example, for Recife's time zone, you would set it to America/Recife.
6.Save the Changes:
- After making the change, make sure to save the settings.
Time Zone Examples
Here are some examples of time zones you can use:
- America/Recife - Recife
- America/Sao_Paulo - São Paulo
- America/New_York - New York
- Europe/London - London
- Asia/Tokyo - Tokyo
If you need more details about supported time zones, you can check the list of
time zones in PHP.
Verification
To ensure that the change was applied correctly, you can create a simple PHP file that displays the current date and time.
For example:
When you access this file through your browser, it should show the date and time in the configured time zone.
Related Articles
How to change the DNS to Scriptcase Host
To access a site by the address, example: scriptcase.host, this address must respond to a IP of the server that your account is hosted, for this purpose DNS servers are used. If you acquire or want to use a domain that you already own, you must ...
How to change language of your cPanel
CPanel supports a lot of languages, and if you want to change your cPanel language to your native language, you should follow this tutorial. 1. Log into your cPanel account. In the "Preferences" section, click on "Change Language" Icon. 3. From the ...
How to change database charset - MySQL
To change the MySQL charset, follow these steps: 1. Access the cPanel: Log in to your cPanel account. 2. Access phpMyAdmin: In cPanel, find the "Databases" section and click on "phpMyAdmin". 3. Select the Database: In phpMyAdmin, on the left panel, ...
How to change cPanel style theme
1. Log into your cPanel account. 2. In the "Preferences" section, click on the "Change Style" Icon. 3. You will see a lot of themes on the themes page. Just select the one you like and click on "Apply".
How to change my cPanel account password?
If you can access your cPanel account, follow these steps to reset your password: 1. Log into your cPanel account. 2. In the "Preferences" section, click on "Password & Security" Icon. 3. Enter your current password. 4. Enter your new password or use ...