Tuesday, 12 October 2021

Change Set Default Timezone On Xampp Server

 

  1. Navigate to the php folder (normally in \xampp\php) and edit the php.ini file.
  2. Under the [Date] section copy and paste your time zone in this format: date.timezone=Atlantic/Faroe
  1. Navigate to the MySQL bin folder (normally in \xampp\mysql\bin) and edit the my.ini file.
  2. Copy and paste your time zone in this format: default-time-zone=Atlantic/Faroe
  1. Navigate to the apache configuration folder (normally in \xampp\apache\conf) and edit the httpd.conf file.
  2. Copy and paste your time zone in this format: SetEnv TZ Atlantic/Faroe

No comments:

Post a Comment