基于PHP的性能优化tips

1:开启opacache[php.ini]


2:开启memcache[php.ini]编译Memcache (原生的Memcache 3.08版无法在PHP7下编译,故选用Github的pecl-memcache分支版本。)

3:PHP7 开启Opcache file cache[参考鸟哥博客][php.ini]

4:Hugepage

参考文档:
1:http://www.laruence.com/2015/12/04/3086.html
2:https://note.t4x.org/environment/opcache-xcache-memcache/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/service/php-optimization-tips/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onApril 27, 2017
  • 原文链接:https://note.t4x.org/service/php-optimization-tips/
匿名

Comment

Anonymous

Slide puzzle verification.