linux下的nginx中php文件出现缓存的问题

来源:互联网 发布:vb for mac 编辑:程序博客网 时间:2024/04/29 19:54

linux下的nginx中php文件出现缓存的问题

1、暂时解决方案,重启php服务:service php-fpm restart2、可能原因:(1)启用了nginx的fastcgi cache(具体解决网址:http://www.lvtao.net/server/224.html)(2)启用了php的ZendOpcache,并且过期时间设置过长:opcache.revalidate_freq=60,这里设置为0(具体解决网址:http://www.oschina.net/question/123129_221115?sort=time#answers)
0 0
原创粉丝点击