Skip to content

How to change the PHP Timezone in cPanel?

Updated 1 min read

Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (Jupiter theme)

PHP uses its time zone for dates and times in your website, such as order times or post dates. If they are off by a few hours, set PHP's date.timezone to your local time zone.

With MultiPHP INI Editor

  1. Log in to cPanel (for example at https://yourdomain.com:2083, or from the Ucartz client area).
  2. Open Software › MultiPHP INI Editor and choose the Editor Mode tab.
  3. Choose the domain.
  4. Add or change the line, using a name from the PHP time zone list:
    date.timezone = "Asia/Kolkata"
  5. Click Save.

On CloudLinux servers

Open Software › Select PHP Version, go to Options and set date.timezone.

Check the result with a file containing <?php echo date_default_timezone_get();, and delete it afterwards.

Note: Many applications have their own time zone setting (for example Settings › General in WordPress), which takes priority.

Related services

Managed cPanel VPS

cPanel included; we handle updates, security and monitoring.

cPanel server management

hardening, migrations and 24/7 monitoring, with no long-term contract.

cPanel, Plesk and LiteSpeed licences

for VPS and dedicated servers, with installation help on demand.

Was this answer helpful?

Still stuck? Open a ticket