编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « OPcache
  • 安装/配置 »
  • PHP Manual
  • OPcache
  • 简介

简介

OPcache 通过将 PHP 脚本预编译的字节码存储到共享内存中来提升 PHP 的性能, 存储预编译字节码的好处就是 省去了每次加载和解析 PHP 脚本的开销。

PHP 5.5.0 及后续版本中已经绑定了 OPcache 扩展。 对于 PHP 5.2,5.3 和 5.4 版本可以使用 » PECL 扩展中的 OPcache 库。

相关文章
php 影响 php 行为的扩展 opcachephp eventlistener enables an event connect listener objectphp evidle creates instance of a stopped evidle watcher objectphp evloop establishes the current time by querying the kernel updating the time returned by evloop now in the progressphp opcache 函数 无需运行,即可编译并缓存 php 脚本php opcache 函数 获取缓存的配置信息php opcache 函数 获取缓存的状态信息php opcache 函数 废除脚本缓存php opcache 函数 tells whether a script is cached in opcachephp opcache 函数 重置字节码缓存的内容php sodium 函数 get random bytes for keyphp sodium 函数 descriptionphp sodium 函数 descriptionphp opcache 简介php mysql xdevapi session get client idphp mysql xdevapi sqlstatement get next resultphp opcache 安装/配置php opcache opcache 函数php yaf application 获取在配置文件中申明的模块php yaf config ini 检查一个偏移位置是否存在
关注编程学问公众号
编程学问网 湘ICP备20001732号