当查看eAccelerator要使用的php.ini中的set文件夹时,那里什么都没有。也没有隐藏文件。目录也是可写的:
eaccelerator.cache_dir = "c:/wamp/tmp/eaccelerator"'在php.ini中还获得了以下设置,以允许磁盘缓存:
eaccelerator.disk_size="12"
eaccelerator.keys="disk_only"
eaccelerator.sessions="disk_only"
eaccelerator.content="disk_only"检出php_info();时,将显示以下内容:
Memory Size 33,554,392 Bytes
Memory Available 29,181,672 Bytes
Memory Allocated 4,372,720 Bytes 分配的RAM随着读取的文件数量的增加而增加,所以它肯定是在缓存,但是为什么它不向临时目录写入任何内容呢?
谢谢!
发布于 2010-09-23 19:17:20
您是否有选项eaccelerator.shm_only = 1?它们可能会覆盖磁盘缓存。
查看此https://serverfault.com/questions/61316/eaccelerator-disk-cache-size
https://stackoverflow.com/questions/2512101
复制相似问题