How to change Timezone using php.ini file?

Log in to cPanel using your username and your cPanel password at http://yourdomain.com/cpanel, 
where yourdomain.com is your domain name.


Click on MultiPHP INI Editor showing in Software Menu

Timezone

Click on Editor Mode as showing in page Tab and select your domain name you are going to change Timezone for using drop down menu. 

Timezone

After select you can be able to see the by default generated code by cPanel for this domain (Leave as it is). 
Add the following line of code on new line of your php.ini file.

date.timezone = "Asia/Karachi"

You can replace "Asia/Karachi" with the timezone from here that corresponds to the time you want to display.

Once you have entered the desired timezone, click Save Changes to save the file.

Timezone
  • change timezone, php.ini, php timezone
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to create email account?

Video TutorialExplainationLog in to cpanel using your username and your cpanel password at...

How to change webmail password from cPanel?

Log in to cPanel using your username and your cPanel password at http://yourdomain.com/cpanel,...

How to add addon domain in cPanel?

Log in to cPanel using your username and your cPanel password at http://yourdomain.com/cpanel,...

How to change cPanel password?

Log in to cPanel using your username and your cPanel password at http://yourdomain.com/cpanel,...

How to change PHP version from cPanel ?

Video TutorialExplainationLog in to cPanel using your username and your cPanel password at...