Although it is known that this parameter means "People's Republic of China", but the official document does not have such parameters, only Asia/shanghai, Asia/hong_kong and so on these parameters ah, why here can be set to RPC, which is the point of pointing, this parameter is where? In the official documentation it seems that there is no such argument. are generally set to Asia/shanghai
Using XAMPP time soon, today in order to correct the PHP fetch function is to get the server time.
Because php5.1.0 started, php.ini added date.timezone this option, which is off by default. The time shown is Greenwich Mean Time, which is 8 hours from Beijing.
Ways to find it online:
Modify the php.ini file to find the;d Ate.timezone =, remove the preceding semicolon and add the time zone after "=".
For example: Asia/chongqing (Chongqing), Asia/shanghai (Shanghai), Asia/urumqi (Urumqi), Asia/macao (Macau), Asia/hong_kong (Hong Kong), Asia/taipei (Taipei), PRC
Cases
;d Ate.timezone =
Change to:
Date.timezone = Asia/shanghai
The method is simple. But under the XAMPP, it is useless to change the Php/php.ini file. Later on-line search found, damn xampp, put php.ini under Apache/bin, modify the inside of the php.ini only use.
The above describes the timezone Phpini in the Datetimezone setup analysis, including the timezone aspects of the content, I hope that the PHP tutorial interested in a friend helpful.