If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / PHP.ini date timezone issue

PHP.ini date timezone issue

Started by meteoros on 24 Feb 2012, 2:00 PM · Views: 4,657

Results 1 to 5 of 5
24 Feb 2012, 2:00 PM
#1
meteoros avatar

meteoros

New Zenner

Join Date:
Feb 2012
Posts:
3
Plugin Contributions:
0

PHP.ini date timezone issue

Hi i'm running ubuntu, with apache,mysql,php running all fine, i've my file at /var/www/zen/ and when i try to http://localhost/zen/zc_install/ gives an 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." i've change the php.ini and set date timezone to Europe/Lisbon and i still have the same message date timezone....Any ideias? Thanks

24 Feb 2012, 8:39 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: PHP.ini date timezone issue

You probably need to restart Apache for the change to take effect.

For more help on properly configuring PHP and Apache and running your own localhost server, see the relevant articles on their respective websites.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Feb 2012, 5:42 AM
#3
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Re: PHP.ini date timezone issue

DrByte:

You probably need to restart Apache for the change to take effect.

For more help on properly configuring PHP and Apache and running your own localhost server, see the relevant articles on their respective websites.

Yes, that's correct. I had the same problem and it was corrected when I restarted the local Apache.

25 Feb 2012, 1:46 PM
#4
meteoros avatar

meteoros

New Zenner

Join Date:
Feb 2012
Posts:
3
Plugin Contributions:
0

Re: PHP.ini date timezone issue

i've done it and no results gives the same error message....

25 Feb 2012, 6:03 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: PHP.ini date timezone issue

Then you're either making incorrect edits in the file, or you're editing the wrong file or the wrong copy of the file.

Again, there are lots of online resources which explain how to properly configure PHP and the many other tasks involved to learn to run your own webserver.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.