上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页
摘要: 前提:非常重要,你的php版本必须是php5.4以上 1.首先需要下载应用模板,分为基础模板和高级应用模板,这里我以高级应用模板为例子 : 去这里现在高级应用模板 https://github.com/yiisoft/yii2-app-advanced 2.下载完之后解压放在www目录我是放在 D: 阅读全文
posted @ 2017-06-19 10:16 侠岚之弋痕夕 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Nginx出现的413 Request Entity Too Large错误,这个错误一般在上传文件的时候出现,打开nginx主配置文件nginx.conf,找到http{}段,添加 解决方法就是 打开nginx主配置文件nginx.conf,一般在/usr/local/nginx/conf/nginx.conf这个位置,找到http{}段,修改或者添加 代码如下 复制代码 cl... 阅读全文
posted @ 2017-06-17 11:40 侠岚之弋痕夕 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1.http://www.cnblogs.com/liuhongfeng/p/5150389.html 2.http://blog.csdn.net/baidu_29119747/article/details/51395736 阅读全文
posted @ 2017-06-14 18:48 侠岚之弋痕夕 阅读(143) 评论(0) 推荐(0) 编辑
摘要: user nginx nginx; #定义Nginx运行的用户和用户组 worker_processes 1; #nginx进程数,建议设置为等于CPU总核心数 worker_rlimit_nofile 1024; #一个nginx进程打开的最多文件描述符数目,理论值应该是最多打开文件数(系统的值u... 阅读全文
posted @ 2017-06-09 15:01 侠岚之弋痕夕 阅读(416) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name localhost; root D:\workspace\PHP\Atromic; location / { index index.php index.html index.htm; if (-e $request_filename) 阅读全文
posted @ 2017-06-08 15:06 侠岚之弋痕夕 阅读(9537) 评论(0) 推荐(0) 编辑
摘要: 一、location匹配 1.分类: (1)正则location:~,~* (2)普通location:=,^~,@,无 2.匹配规则: (1) = 精确匹配。如果找到,停止搜索 (2) ^~ 普通匹配,匹配路径的前缀,如果找到,停止搜索,不继续匹配正则 (3) ~ 正则匹配,区分大小写 (4) ~* 正则匹配,不区分大小写 (5) !~ 正则不匹配,不区分大小写... 阅读全文
posted @ 2017-06-07 18:22 侠岚之弋痕夕 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1.网络来源:http://www.shouce.ren/post/view/id/1529 2.实际项目中的,我的做法(我的项目全在:application/home 下) 阅读全文
posted @ 2017-06-07 18:15 侠岚之弋痕夕 阅读(1443) 评论(0) 推荐(0) 编辑
摘要: 1.项目中若要隐藏模块的做法 2.配置如下: 阅读全文
posted @ 2017-06-07 18:09 侠岚之弋痕夕 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1.上个月第一天及最后一天. echo date('Y-m-01', strtotime('-1 month')); echo strtotime(date('Y-m-01 0:00:00', strtotime('-1 month'))); //月初第一天时间戳 echo ""; echo date('Y-m-t', strtotime('-1 month')); ... 阅读全文
posted @ 2017-06-05 15:58 侠岚之弋痕夕 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 在页面的最前页加上 date_default_timezone_set(PRC); /*把时间调到北京时间,php5默认为格林威治标准时间*/ date () a: "am"或是"pm" A: "AM"或是"PM" d: 几日,两位数字,若不足则补零;从"01"至"31" D: 星期几,3个英文字母,如:"Fri" F: 月份,英文全名,如:"January"... 阅读全文
posted @ 2017-06-03 09:52 侠岚之弋痕夕 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1.配置主配置: nginx/conf/nginx.conf 2.虚拟主机配置:nginx/conf/extra/learn.weixin.com.conf 配置完后,重启服务器! 阅读全文
posted @ 2017-06-01 19:46 侠岚之弋痕夕 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1.先确定nginx所在的文件位置 如: 重启 1、验证nginx配置文件是否正确 方法一:进入nginx安装目录sbin下,输入命令./nginx -t 2、重启Nginx服务 方法一:进入nginx可执行目录sbin下,输入命令./nginx -s reload 即可 3.文件nginx下sbi 阅读全文
posted @ 2017-06-01 19:21 侠岚之弋痕夕 阅读(166) 评论(0) 推荐(0) 编辑
摘要: mysql 中的event是任务调度器,可以执行定时任务。 阅读全文
posted @ 2017-05-31 14:40 侠岚之弋痕夕 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1.php curl 2.jquery ajax 3.header 阅读全文
posted @ 2017-05-31 14:02 侠岚之弋痕夕 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-05-31 13:56 侠岚之弋痕夕 阅读(224) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页
Where is the starting point, we don't have a choice, but the destination where we can pursue!