PHP7 开启opcache
来源:互联网 发布:英文生成器软件 编辑:程序博客网 时间:2024/05/16 18:47
启用opcache使用:
zend_extension=php_opcache.dll注意使用的是zend_extension,而不是extension。
PHP官方推荐的 php.ini 设置
opcache.enable=1opcache.memory_consumption=128opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000opcache.revalidate_freq=60opcache.fast_shutdown=1opcache.enable_cli=1
合起来就是
[opcache]zend_extension=php_opcache.dllopcache.enable=1opcache.memory_consumption=128opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000opcache.revalidate_freq=60opcache.fast_shutdown=1opcache.enable_cli=1
PHP文件位于php安装的目录下php.ini。
阅读全文
0 0
- PHP7 开启opcache
- mac下php7开启opcache
- 编译php7 opcache问题
- PHP开启opcache方法
- PHP开启opcache方法
- PHP 开启 opcache 方法
- PHP opcache开启
- PHP开启opcache方法
- windows开启opcache,xdebug方法
- [PHP] - 性能加速 - 开启opcache
- [PHP] - 性能加速 - 开启Opcache
- PHP7打开Opcache,优化PHP7性能的几个设置
- PHP5.5开启OPcache(Windows平台)
- Windows PHP 开启opcache的方法
- php7下的opcache特性导致的一个bug排查
- php7 5.6 5.4 5.3xcache opcache 性能测试
- php7&Apache 开启openssl
- OPcache
- MySQL配置优化
- 使用FatJar打包java project(非web工程)
- 巧妙运用DOS命令实现文件合并来隐藏秘密
- 小白Python3爬虫—HTTP(二)
- html之meta标签属性http-equiv和content详解
- PHP7 开启opcache
- http-proxy配置那些事
- JS中的promise对象
- solr管理界面详解。
- 面试题23:从上往下打印二叉树(Leetcode-102)
- python笔记13
- 问题处理: Found element arg0 but could not find matching RPC/Literal part
- 虚拟空间对新闻媒体的真实挑战
- mybatis报错Parameter '**' not found