Skip to content
ecleese edited this page Oct 3, 2013 · 32 revisions

XAMPP Notes

First, navigate to C:\xampp\php\php.ini and open the file in a plain text editor such as Notepad. Look for the following …

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "America/Chicago"

Change “America/Chicago” to the proper value. In my case it is “America/Winnipeg”. Save the file and restart Apache (if it is running) in order for the change to take effect.

Next, navigate to C:\xampp\mysql\bin\my.ini and open the file in a plain text editor such as Notepad. Look for the following …

default-time-zone       = "America/Chicago"

Again change the value to the one applicable to you. Save the file and restart MySQL (if it is running) in order for the change to take effect.

Clone this wiki locally