dongqindan4406 2012-08-02 07:50
浏览 59

PHP APC CLI操作码缓存无效

i want to use apc as cli with opcode cache feature.

using apc.enable_cli to true. but noting happened in benchmark time and memory usage.

; php.ini
apc.enable_cli = 1

but in web based usage different. i see how work apc and do magic for running php scripts. about half memory usage also about 0.01 faster than normal run php script.

but i think php dont use opcode cache during using apc in cli. how can i use it. is it possible?

  • 写回答

1条回答 默认 最新

  • duanniu4106 2012-08-02 08:45
    关注

    I wouldn't expect apc to give any improvement in performance on the command line, because the apc cache is going to be dropped every run.

    评论

报告相同问题?

悬赏问题

  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统