用PHP运code缓存mod_fcgid [英] mod_fcgid with php opcode caching
问题描述
我一直在使用与MPM-工人,mod_fcgid Apache Web服务器。
我看了一下mod_fcgid它不能利用运code缓存。
http://www.brandonturner.net/blog/2009 / 07 / fastcgi_with_php_op code_cache /
APC缓存模块似乎在我的PHP配置中启用。
我不知道如果我的催生PHP codeS是的从不的共享。
我应该删除APC?是否有任何开销?
我不知道如果我的催生PHP codeS永远不会共享。
块引用>您可能会发现<一个href=\"http://stackoverflow.com/questions/598444/how-to-share-apc-cache-between-several-php-processes-when-running-under-fastcgi\">this问题有帮助的。
我应该删除APC?是否有任何开销?
块引用>至于开销,如果你的 N 的过程,那么你就必须的 N 的缓存。
它的空间效率不高,但它仍然可能有助于减少的 CPU 的周期寿。I have been using apache web server with mpm-worker and 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 cache module seems to be enabled in my php configuration.
I am not sure if my spawned php codes are never shared.
Should I remove APC? Does it have any overhead?
解决方案I am not sure if my spawned php codes are never shared.
You might find this question helpful.
Should I remove APC? Does it have any overhead?
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.
这篇关于用PHP运code缓存mod_fcgid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!