开发者

PHP APC apc.shm_size cant be set above 39

Hi I am having some problems with apc caching. For some reason when I set the apc.shm_size to any value above 39 I am unable to load any php files. There are no entries in the apache error logs.

My set up is as follows:

PHP 5.3.5 Apache 2.2.17

Loaded apache modules: core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log开发者_JAVA技巧_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_vhost_alias mod_php5


This may be a library limitation of whatever APC was compiled with for its Win32 version. While the manual doesn't mention Win32, it does note that the BSD operating systems have a fairly low limit for shared memory segment size.

Having said that, APC allows you to create multiple shared memory segments using the apc.shm_segments setting to get around shared memory segment size limits.

The default is 1 segment, 32MB in size.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜