You are * required * to use the date. timezone setting or the d

Source: Internet
Author: User

15:23:08 [error] 4023 #0: * 2 FastCGI sent in stderr: "PHP message: PHP Warning: phpinfo (): it is not safe to rely on the system's timezone settings. you are * required * to use the date. timezone setting or the date_default_timezone_set () function. in case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. we selected 'Asia/Chongqing 'for 'cst/8.0/no DST' instead

Solution:

Add

Date. timezone = "Asia/Shanghai" Remove the previous one ;)


15:00:22 [error] 3855 #0: * 1 open () "/usr/local/nginx/html/favicon. ico "failed (2: No such file or directory), client: 192.168.254.152, server: localhost, request:" GET/favicon. ico HTTP/1.1 ", host:" 192.168.254.46"

Solution: Add vi nginx. conf

location = /favicon.ico {

log_not_found off;

}


This article is from the "oni" blog, please be sure to keep this source http://zhudiqingyin.blog.51cto.com/4018914/1302900

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.