To set the time zones see the directions under the corresponding sections. If you cannot find the time zone directive you can copy and paste it in the file. Your Time zone can be found on the php website.
- Navigate to the php folder (normally in
\xampp\php
) and edit thephp.ini
file. - Under the
[Date]
section copy and paste your time zone in this format:date.timezone = "Atlantic/Faroe"
- Navigate to the MySQL bin folder (normally in
\xampp\mysql\bin
) and edit themy.ini
file. - Copy and paste your time zone in this format:
default-time-zone = "Atlantic/Faroe"
- Navigate to the apache configuration folder (normally in
\xampp\apache\conf
) and edit thehttpd.conf
file. - Copy and paste your time zone in this format:
SetEnv TZ Atlantic/Faroe
ALL DONE!! Now you can restart Apache and MySQL servers and get back to business.