随笔分类 -  php

摘要:http://blog.csdn.net/beyond__devil/article/details/52829241 阅读全文
posted @ 2017-10-12 17:40 thrillerz 阅读(172) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/fenglailea/article/details/52458737#t3 http://blog.csdn.net/fenglailea/article/details/52458737#t3 http://blog.csdn.net/fenglaile 阅读全文
posted @ 2017-04-01 20:57 thrillerz 阅读(2222) 评论(0) 推荐(0)
摘要:server { listen 8092; server_name *.xxx.com; root /home/users/cuijian04/odp302/app/phpmyadmin; set $php_upstream 'unix:/home/users/cuijian04/odp302/var/hhvm.sock'; ... 阅读全文
posted @ 2016-11-07 21:27 thrillerz 阅读(896) 评论(0) 推荐(0)
摘要:引用:https://segmentfault.com/a/1190000002521658 Autoloader 关键词 “必须”("MUST")、“一定不可/一定不能”("MUST NOT")、“需要”("REQUIRED")、“将会”("SHALL")、“不会”("SHALL NOT")、“应 阅读全文
posted @ 2016-08-17 17:08 thrillerz 阅读(218) 评论(0) 推荐(0)
摘要:注意:本文是我们的 PHP 性能分析系列的第三篇,点此阅读PHP 性能分析第一篇: XHProf & XHGui 介绍,或PHP 性能分析第二篇: 深入研究 XHGui。在本系列的第一篇中,我们介绍了 XHProf 。而在第二篇中,我们深入研究了 XHGui UI, 现在最后一篇,让我们把 XHPr... 阅读全文
posted @ 2015-12-29 12:16 thrillerz 阅读(284) 评论(0) 推荐(0)
摘要:【前言】这是国外知名博主 Davey Shafik所撰写的 PHP 应用性能分析系列的第一篇,阅读第二篇可深入了解 xhgui,第三篇则关注于性能调优实践。原文链接如下:https://blog.engineyard.com/2014/profiling-with-xhprof-xhgui-part... 阅读全文
posted @ 2015-12-24 11:35 thrillerz 阅读(286) 评论(0) 推荐(0)
摘要:【前言】这是国外知名博主 Davey Shafik所撰写的 PHP 应用性能分析系列的第一篇,阅读第二篇可深入了解 xhgui,第三篇则关注于性能调优实践。原文链接如下:https://blog.engineyard.com/2014/profiling-with-xhprof-xhgui-part... 阅读全文
posted @ 2015-12-24 10:56 thrillerz 阅读(276) 评论(0) 推荐(0)
摘要:通过pipeline方式将client端命令一起发出,redis server会处理完多条命令后,将结果一起打包返回client,从而节省大量的网络延迟开销。 阅读全文
posted @ 2015-12-24 00:44 thrillerz 阅读(341) 评论(0) 推荐(0)
摘要:我们为什么要迁移PHP到HHVM程序员日志· 2014-12-26 18:33简介该调研是2013年10月份做的,目标是寻找更好的PHP引擎,来代替百度各产品线正在使用的PHP 5.2。环境说明机器环境:cpu: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 1... 阅读全文
posted @ 2015-12-15 11:25 thrillerz 阅读(1542) 评论(0) 推荐(1)
摘要:phabricator,http://www.oschina.net/p/phabricator 阅读全文
posted @ 2015-12-13 21:35 thrillerz 阅读(551) 评论(0) 推荐(0)
摘要:简单通俗的来说, self就是写在哪个类里面, 实际调用的就是这个类.所谓的后期静态绑定, static代表使用的这个类, 就是你在父类里写的static, 然后通过子类直接/间接用到了这个static, 这个static指的就是这个子类, 所以说static和$this很像, 但是static可以... 阅读全文
posted @ 2015-06-02 12:01 thrillerz 阅读(1036) 评论(0) 推荐(0)
摘要:http://www.workerman.net/workerman 阅读全文
posted @ 2015-02-04 23:07 thrillerz 阅读(395) 评论(0) 推荐(0)
摘要:http://www.php-internals.com/ 阅读全文
posted @ 2015-02-03 20:12 thrillerz 阅读(295) 评论(0) 推荐(0)
摘要:原文地址:http://www.phppan.com/2009/12/zend-hashtable/在PHP的Zend引擎中,有一个数据结构非常重要,它无处不在,是PHP数据存储的核心,各种常量、变量、函数、类、对象等都用它来组织,这个数据结构就是HashTable。HashTable在通常的数据结... 阅读全文
posted @ 2015-02-03 18:02 thrillerz 阅读(388) 评论(0) 推荐(0)
摘要:测试帖:http://www.aikaiyuan.com/6430.html配置如下:opcache.memory_consumption=128opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000opcache.re... 阅读全文
posted @ 2014-12-23 01:49 thrillerz 阅读(2355) 评论(0) 推荐(0)
摘要:个人说明:注意:php5.5运行 xhprof_enable 会发生段错误Segmentation fault: 11,这是一个已知的bug。 下面是报错测试脚本:function loader() { // }spl_autoload_register('loader', $throw = tru... 阅读全文
posted @ 2014-12-13 13:59 thrillerz 阅读(470) 评论(0) 推荐(0)
摘要:HHVM (HipHop Virtual Machine) 是 Facebook 开源的 PHP 执行引擎。 HHVM 采用一种JIT(just-in-time)的编译机制实现了高性能,同时又保持对 PHP 语法的充分支持。 在 Facebook 实际应用场景中,与 Zend PHP 5.2 引擎 ... 阅读全文
posted @ 2014-12-11 22:48 thrillerz 阅读(5716) 评论(0) 推荐(0)
摘要:[02-Dec-2014 00:28:58] ALERT: [pool www] user has not been defined[02-Dec-2014 00:28:58] ERROR: failed to post process the configuration[02-Dec-2014 0... 阅读全文
posted @ 2014-12-02 00:48 thrillerz 阅读(6300) 评论(0) 推荐(0)
摘要:1上传文件限制配置post_max_size = 200Mupload_max_file_size = 200M 阅读全文
posted @ 2014-10-30 18:57 thrillerz 阅读(124) 评论(0) 推荐(0)
摘要:问题是出现在了PHP.INI上面了原因是php.ini里设置了 opendir=/var/web/w0895/:/tmp:/usr/lib/php解答:其实open_basedir 这个是用来限制php的目录访问权限什么的,如果不在允许的范围内,php就不能访问。 阅读全文
posted @ 2014-10-24 00:23 thrillerz 阅读(393) 评论(0) 推荐(0)