How to change cPanel date time zone

You can modify different php settings for your account, including timezone, using php.ini file.
If you do not have it yet, please refer to the guidelines below on how to add it:

  On our servers "America/New_York" timezone is set by default.

To change it o Nairobi, you will need to update the following value in your php.ini file:

date.timezone = "Africa/Nairobi"

Once configured, do not forget to save the changes.

If your account do not have an existing php.ini file, create a new file with the name php.ini and then place and save the above code

Was this answer helpful?

 Print this Article

Also Read

How to fix or reset file and folder permissions

In the event that your file/directory permissions are changed under your account for any reason...

Here’s Why You Should Start Using CloudFlare Today

We learned so much at today’s DreamUp with CloudFlare! Brent Coco, a trainer at CloudFlare,...

PHP Settings that Cannot be Changed

Shared packages (including Cloud hosting and Resellers) are hosted on carefully managed...

How to redirect a website using index.html

Create an index.html file and paste the following code<metahttp-equiv="refresh"content="0;...

What factors affect DNS propagation time?

When you update the DNS (Domain Name System) records in your domain name's zone file, it can take...

Our official partners