droe9376 2014-07-02 12:47
浏览 71

停用和卸载Zend Opcode缓存

I have installed the Zend OpCache on my linuxbox. I used the following command to install the extension:

sudo pecl install zendopcache-7.0.2

Now without modifying my php.ini file, the extension is enabled. This claim is based on the output I am getting for the php -v command. Following is the output I am getting for php -v command:

PHP 5.5.14-1+deb.sury.org~precise+1 (cli) (built: Jun 27 2014 14:11:34) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

It also seems as Zend Opcode caching is enabled by default. Can someone help me deactivating Zend Opcode caching as I need to evaluate some other Opcode cachings? In my php.ini file, I dont see any Zend Opcode caching option. In case if I want to uninstall the Zend Opcode caching completely from my vm, how can I achieve this?

  • 写回答

3条回答 默认 最新

  • dsbiw2911188 2014-07-02 14:06
    关注

    Zend OPcache is integrated since 5.5 if i remember correctly. So no need to install from pecl. Create a new ini file or use the one available on your system to enable / disable opcache

    opcache.enable 0
    opcache.enable_cli 0
    
    评论

报告相同问题?

悬赏问题

  • ¥15 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配