mod_fcgid 与 php 操作码缓存 [英] mod_fcgid with php opcode caching
问题描述
我一直在使用带有 mpm-worker 和 mod_fcgid 的 apache 网络服务器.
I have been using apache web server with mpm-worker and mod_fcgid.
我读过关于 mod_fcgid 的内容,它不能使用操作码缓存.
I have read about mod_fcgid that it can not make use of opcode caching.
http://www.brandonturner.net/blog/2009/07/fastcgi_with_php_opcode_cache/
apc 缓存模块似乎在我的 php 配置中启用.
apc cache module seems to be enabled in my php configuration.
我不确定我生成的 php 代码是否从不共享.
I am not sure if my spawned php codes are never shared.
我应该删除 APC 吗?它有任何开销吗?
Should I remove APC? Does it have any overhead?
推荐答案
我不确定我生成的 php 代码是否从未共享过.
I am not sure if my spawned php codes are never shared.
您可能会发现 这个问题很有帮助.
You might find this question helpful.
我应该删除 APC 吗?它有任何开销吗?
Should I remove APC? Does it have any overhead?
至于开销,如果您有 n 个进程,那么您将拥有 n 个缓存.它不节省空间,但仍可能有助于减少 CPU 周期.
As for the overhead, if you have n processes, then you'll have n caches. It's not space efficient but it might still help reducing CPU cycles tho.
这篇关于mod_fcgid 与 php 操作码缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!