EasyPHP-DevServer-13.1VC11: Changed php files are not refreshed immediately

StackOverflow https://stackoverflow.com/questions/20419108

  •  29-08-2022
  •  | 
  •  

문제

I have replaced my Zend Server CE with an EasyPHP-DevServer-13.1VC11 install, running PHP 5.5.3. When I make changes in a php file, the changes often show only after waiting about a minute followed by a browser refresh. This is quite annoying in a development environment.

Can this be changed in the php.ini or is there some other way to fix this?

도움이 되었습니까?

해결책

Just figured it out. I fixed the problem by changing opcache.revalidate_freq from 60 (nonsensical default for development) to 2 in the php.ini.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top