开发者

APC not working correctly

I recently installed APC on my production server but It's not working as expected.

All my projects are handled with SVN, and on production release I have a post commit hook that runs a svn export to the correct di开发者_JS百科rectory.

The problem is that with APC, my website fails to display anything(white page) unless I restart apache.

I check and apc.stat is On so I dont know what is happening !


Try to change this configuration setting:

apc.stat_ctime = 1

From php.net:

Verification with ctime will avoid problems caused by programs such as svn or rsync by making sure inodes haven't changed since the last stat. APC will normally only check mtime.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜