之前一直使用 基于Xdebug进行PHP的性能分析 ,对于本地开发环境来说是够用了,但如果是线上环境的话,xdebug消耗较大,配置也不够灵活,因此线上环境建议使用 xhprof进行PHP性能追踪及分析 。
xhprof的安装与简易用法
xhprof 是Facebook开源的轻量...
拈花古佛
11年前 (2015-10-31) 8894℃ 0评论
0喜欢
<?php
class vote extends Thread {
public $res = '';
public $url = array();
public $name = '';
public $run...
拈花古佛
11年前 (2015-09-16) 8292℃ 0评论
0喜欢
官网:http://requests.ryanmccue.info
官方介绍:
Requests is a humble HTTP request library. It simplifies how you interact with other sites and take...
拈花古佛
11年前 (2015-08-02) 9068℃ 0评论
0喜欢
调用YII框架中 jquery:Yii::app()->clientScript->registerCoreScript(‘jquery’);
framework/web/js/source的js,其中registerCoreSc...
拈花古佛
11年前 (2015-06-25) 8705℃ 0评论
0喜欢
用thinkphp做项目,完成后部署到nginx服务器, 发觉nginx是不支持pathinfo的,网上搜索了解决方法,有两种思路:
1、修改thinkphp让他可以在nginx上运行
2、修改nginx让它支持pathinfo
网上说nginx开启pathinfo是有一定风险的...
拈花古佛
11年前 (2015-06-25) 8940℃ 0评论
0喜欢