简体   繁体   中英

Does XAMPP set the php.ini file to “date.timezone=Europe/Berline” during installation?

Does XAMPP set the php.ini file to " date.timezone=Europe/Berline " during installation?

The default date.timezone settings are stored in the ../xampp/php/php.ini file. These settings can be found around in or around line 1045. After reviewing some php error logs and the php.ini file, I found that my settings were as follows:

date.timezone=Europe/Berline

I am located in the United States, Eastern Time, so my settings should be:

date.timezone=America/New_York

I am not sure why my date.timezone would be set to Europe/Berline unless this is the default setting for the php.ini file during an XAMPP installation.

Yes this is set to default during installation, here a link to show you what to change it to if you haven't already

http://php.net/manual/en/timezones.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM