Change timezone to Apache server , PHP and MySql in XAMPP

UPDATE!

Post has moved to https://manios.org/2013/03/05/change-timezone-to-apache-server-and-php

Advertisements

About cmanios

programming
This entry was posted in Apache, Databases, HTTP, mysql, PHP and tagged , , , , , , , , , , , . Bookmark the permalink.

11 Responses to Change timezone to Apache server , PHP and MySql in XAMPP

  1. Manthan Rana says:

    Great post. Thanks..!

  2. VIjay says:

    Thanks

  3. Very well explained! Simple and clear!

  4. I have a question : How do I configure in Xampp for setlocale ( LC_ALL , ” es_ES ” ) ?

  5. fl2tx&co says:

    The change to my.ini crashes the server with: Fatal error: Illegal or unknown default time zone ‘Europe/Athens’

  6. zygd says:

    did not work……. phpinfo() tells me that date.timezone is still incorrect, and date() shows incorrect time. DateTime() is again incorrect and same with date_default_timezone_get(). I am on Windows 7 , XAMPP, PHP 7.1, MariaDB 10.2.3.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s