Setting Date_Timezone for PHP (Cpanel)

If your account is hosted either on mocha4000.mochahost.com or mocha3005.mochahost.com, please follow the steps below on how to set your Date\_Timezone for PHP:

Edit your .htaccess file via FTP or the File Manager within your Cpanel account.

Add the following line to the .htaccess file:

php\_value date.timezone 'Region/Zone'

NOTE: Replace Region/Zone with your own time zone.

Save the changes to the .htaccess file and exit the text editor.

A list of Supported Timezones can be found here: 

For all of our other servers, please follow the steps below:

  1. Login to your CPanel.

  1. Under the SOFTWARE section, choose Select PHP Version.

  1. Click on Switch To PHP Options.

  1. Under the date.timezone, type your time\_zone in the tab and click Apply.

  1. Once done, click Save to save your changes.