Back to Top

How to Set the Time Zone in Modx

Sometimes MODx revolution gives the fatal error at the time of installation.I got following fatal error on the setup page when I was trying to install MODx revolution

This might happen when installing an MODx revolution.so Today I am going to explain how you can resolve this installation error of MODx and to Set the Time Zone in Modx.

Read about: Conditional Chunk in Modx

Let’s see how to Set your Time Zone for PHP 5.3+:

It’s a simple process and I will describe two different approaches:

Method 1: Time Zone in php.ini

If you have access to your php.ini file, you can set timezone from php.ini file.Simply open your php.ini file and enable the date.timezone and place your zone value

Method 2: Time Zone in .htaccess

This is the alternative method, if you don’t have access to edit your php.ini file, you can set time zone by placing the following line into the .htaccess

NOTE: you can fine the list of supported Time Zones here

Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular Posts

How to Install WAMP Server on Windows 8

Posted on 4 years ago

Bhumi

How to enable Debug Console in X-cart?

Posted on 4 years ago

Bhumi

How to import user from CSV in WordPress?

Posted on 3 years ago

Bhumi

How to Create a Custom WordPress Widget

Posted on 5 years ago

Bhumi

How to use PHP Method Chaining?

Posted on 3 years ago

Bhumi

Overview of ECMAScript 6 new Features

Updated 18 years ago

Bhumi

Getting started with Amazon Web Services

Updated 18 years ago

Bhumi

Facade implementation in Laravel

Updated 18 years ago

Bhumi

The Reader’s Poll – June 2015

Posted on 2 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 3 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 4 years ago

Bhumi