摘要:
转http://www.vpser.net/opt/apc-eaccelerator-xcache.html 一、PHP加速器介绍 PHP加速器是一个为了提高PHP执行效率,从而缓存起PHP的操作码,这样PHP后面执行就不用解析转换了,可以直接调用PHP操作码,这样速度上就提高了不少。 Apache中使用mod_php的请求、响应执行流程: 1、Apache... 阅读全文
posted @ 2015-01-23 12:58
yo胡yo
阅读(381)
评论(0)
推荐(0)
摘要:
1.Tools->New Snippet-> fun source.php|*.* | source.js function … 阅读全文
posted @ 2015-01-23 12:57
yo胡yo
阅读(231)
评论(0)
推荐(0)
摘要:
CI源码引用使用在Common.php中,加载配置和类的方法 function &test() { static $a = ''; if (!$a) { $a = 2; } return $a; } $test =& test(); echo $test; $test = 3; echo t... 阅读全文
posted @ 2015-01-23 11:10
yo胡yo
阅读(430)
评论(0)
推荐(0)
摘要:
vi nginx/conf/nginx.conf 1.修改正则 set $real_script_name $fastcgi_script_name;
if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$"){ set $real_script_name $1; set $path_info $2;
}
fastcgi_param ... 阅读全文
posted @ 2015-01-23 00:59
yo胡yo
阅读(285)
评论(0)
推荐(0)

浙公网安备 33010602011771号