码迷,mamicode.com
首页 > 其他好文 > 详细

lnmp的一些报错

时间:2015-01-07 19:00:57      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:lnmp

这个主要是用来记录自己在使用过程中遇到的一些小问题的,以后有问题慢慢加


php出现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未设置时区

解决:php.ini中增加:date.timezone = "Asia/Shanghai"


nginx报错:has been denied (see security.limit_extensions)" while reading response header from upstream,

修改php-fpm:在security.limit_extensions=.php .php3 .php4 .php5 .gif .jpg .bmp .swf .png .js .css .jpeg .png .htm .html


本文出自 “我们应该互相知悉” 博客,请务必保留此出处http://lshunchang.blog.51cto.com/9242952/1600364

lnmp的一些报错

标签:lnmp

原文地址:http://lshunchang.blog.51cto.com/9242952/1600364

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!