12 2015 档案

摘要:nginx+php-fpm访问报错,只显示access denied nginx.conf中root是配置在server段内,“location /”之外,所以排除此错误可能性; php-fpm中security.limit_extensions也不限制“.php”,所以排除此可能性; 最后,修改了 阅读全文
posted @ 2015-12-30 22:10 寂地烟火 阅读(8) 评论(0) 推荐(0) 编辑
摘要:最近想学习一下yii2,但是composer一直安装失败,php -r "readfile('https://getcomposer.org/installer');" | php 执行会出现报错: Warning: readfile(): SSL operation failed with cod 阅读全文
posted @ 2015-12-28 12:07 寂地烟火 阅读(3) 评论(0) 推荐(0) 编辑
摘要:折腾了一下ThinkCMF的URL重写,以下是一些整理: ThinkCMF是基于ThinkPHP的,所以其配置很多与ThinkPHP相似,在TP中有这么几种模式: 第一种:普通模式,在配置文件中URL_MODEL值为0,形如:http://localhost/index.php?g=index&m= 阅读全文
posted @ 2015-12-14 16:06 寂地烟火 阅读(11) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示