偶然我们修正PHP代码后没法见效,修正PHP代码,不能马上见效,重启php-fpm效劳后会见效!
引荐:php效劳器
我们能够经由过程修正PHP配置文件处理:
[Zend Opcache] zend_extension=opcache.so opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1 ;opcache end ;xcache ;xcache end
修正下面的代码即可处理问题:
opcache.revalidate_freq=1
以上就是php修正了内容稳定的细致内容,更多请关注ki4网别的相干文章!