- 博客(14)
- 收藏
- 关注
原创 nginx---支持thinkphp url重写
server { listen 80; server_name my.dev; access_log logs/my.dev_access.log; root /usr/local/nginx/html/; index index.php; location / {
2014-10-28 23:09:42 923
原创 nginx---支持php 框架 pathinfo 模式
server { listen 80; server_name my.dev; access_log logs/my.dev_access.log; #index index.php root /data/hx; index index.php; location ~ \.php {
2014-10-24 16:19:17 443
转载 html5---图片上传预览
图片上传预览 window.URL = window.URL || window.webkitURL; var fileElem = document.getElementById("fileElem"), fileList = document.getElementById("fileList"); function handleFiles(obj) { var fil
2014-10-24 09:22:39 618
原创 PHP 中命名空间的作用
php中命名空间 其实就是为了避免类名冲突 main.class.php [html] view plaincopy namespace App\main; class aa { public static function test() { echo 1; } }
2014-10-20 17:29:52 1247
转载 设计各种图(流程图,思维导图,UML,拓扑图,ER图)简介
http://www.cnblogs.com/jiqing9006/p/3344221.html
2014-10-20 10:10:09 2672 1
原创 compile---php缺少phpize或者php-config
当需要编译php扩展的时候,缺少phpize或者php-config,说明没有安装php-deve
2014-10-08 22:16:46 709
原创 nginx---日志管理
#!/bin/bash a=$(du -b /usr/local/nginx/logs/access.log | awk '{print $1}') echo $a if [ $a -gt 1024 ];then mv /usr/local/nginx/logs/access.log /usr/local/nginx/logs/aa.log kill -USR1 `cat /usr/local/n
2014-10-04 11:41:16 323
原创 nginx---虚拟主机配置
http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_b
2014-10-03 23:14:27 305
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人