You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
2013-09-18 15:45
543 查看
2013/09/18 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
解决方法:
在php.ini里加上
date.timezone = "Asia/Shanghai"(去掉前面的;)
2013/09/18 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"
解决方法:vi nginx.conf 加上
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
解决方法:
在php.ini里加上
date.timezone = "Asia/Shanghai"(去掉前面的;)
2013/09/18 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"
解决方法:vi nginx.conf 加上
location = /favicon.ico { log_not_found off; }
相关文章推荐
- You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
- 解决php It is not safe to rely on the system's timezone settings. You are *required* to use the date.
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to us
- It is not safe to rely on the system's timezone settings. You are *required*
- "PHP Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You
- CodeIgniter 错误: In order to use the Session class you are required to set an encryption key
- CodeIgniter 错误: In order to use the Session class you are required to set an encryption key
- Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings.
- CodeIgniter 错误: In order to use the Session class you are required to set an encryption key
- php首次使用date函数 遇到警告:Warning:date():It is not safe to rely on the system's timezone settings.You...
- Mysql:You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true
- PHP Warning: date() [function.date]: It is not safe to rely on the system's timezone
- http://url is already routed to the Default zone of another application. Remove that mapping or use a different URL
- ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in
- xargs: unmatched double quote; by default quotes are special to xargs unless you use the -0 option
- PHP Warning: date() [function.date]: It is not safe to rely on the system's timezone
- PHP Warning: date() [function.date]: It is not safe to rely on the system's timezone