Report this

What is the reason for this report?

Trying to set date.timezone in php.ini.

Posted on October 14, 2013

i’m trying to install ZenCart on Ubuntu.

In the browser window on the installer page, on Step One I click ‘Click Here’ to begin installation. I get this error: ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.

so i downloaded the php.ini file from this dir. etc/php5/apached2/php.ini

i see this line: ;date.timezone = and change to date.timezone = America/New_York

note i removed the semi-colon and upload to server.

but still I get the same error when trying to run the ZenCart installer. does anyone know what i’m doing wrong?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

i have to restart server. sorry, 'doh!

Glad it’s working now :]

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.