Changing the timezone via MultiPHP INI Editor
- Log in to cPanel.
- In the Software section, click MultiPHP INI Editor.
- Select your domain from the dropdown.
- Switch to Editor Mode (the raw editor).
- Add or update this line:
- Save.
Changing the timezone via PHP Selector
If your server uses the CloudLinux PHP Selector:- In cPanel, click Select PHP Version.
- Click Options.
- Find date.timezone and set your timezone.
Verifying
Create a file called tz.php in your document root:Applications may have their own timezone settings that override PHP’s — WordPress (Settings → General), for example. Set both for consistent behavior. For more background, see Setting timezones in PHP.