首页 > 其他 > 详细

lnmp的一些报错

时间:2015-01-07 18:59:50      阅读:259      评论:0      收藏:0      [点我收藏+]

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


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的一些报错

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!