In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article analyzes "how to change the time zone of php.ini". The content is detailed and easy to understand. Friends who are interested in "how to change the time zone of php.ini" can follow the editor's idea to read it slowly and deeply. I hope it will be helpful to everyone after reading. Let's follow the editor to learn more about "how to change the time zone of php.ini".
What are the characteristics of php 1, the execution speed is fast. 2. It has good openness and expansibility. 3. PHP supports a variety of mainstream and non-mainstream databases. Object-oriented programming: PHP provides classes and objects. 5. The update speed of the version is fast. 6. It has rich functions. 7. Scalability. 8. Comprehensive functions, including graphics processing, encoding and decoding, compressed file processing, xml parsing, etc.
Php.ini method to modify the time zone: 1, find the php.ini configuration file; 2, find "data.timezone =" and remove the previous semicolon; 3, set "data.timezone =" Asia/Shanghai ";"
This article operating environment: windows7 system, PHP7.1 version, DELL G3 computer
Where can I change the time zone for php.ini?
Modify php.ini, find data.timezone = remove the; sign in front of it in php.ini, and set data.timezone = "Asia/Shanghai";.
Note:
In the program code of PHP 5 and above
Use the function ini_set ('date.timezone','Asia/Shanghai')
Or
Date_default_timezone_set ('Asia/Shanghai')
About php.ini how to change the time zone to share here, I hope the above content can make you improve. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.