0

私はAPCでApache2を持っています。

何かを変更したら、その効果を確認するために Apache を再起動する必要があります。APC のせいだと 100% 確信しています。

設定の何が問題になっていますか? (助けてくれてありがとう!)

extension=apc.so
apc.enabled = On
apc.optimization  = 0
apc.shm_segments = 1
apc.shm_size = 2.6G
apc.ttl = 7200
apc.user_ttl  = 720
apc.num_files_hint = 102400
apc.mmap_file_mask = /tmp/apc.XXXXXX
apc.enable_cli = 1
apc.cache_by_default  = 1
apc.max_file_size = 220M
apc.stat = 0
4

1 に答える 1

1

You have apc.stat set to 0. This means APC will not check whether the file is modified when it's requested, it will always serve it from cache after the first compilation.

To fix you problem either remove apc.stat = 0 or change it back to default apc.stat = 1

于 2013-02-24T10:18:23.793 に答える