title: Symfony 2 | OPcache | Warning: filemtime(): stat failed for Acme-DemoBundle-Controller-SecuredController.cache.php in FileCacheReader.php
body: <p>I have installed Symfony 2 and I have activated the <em>opcache</em> (ZendOPtimizer) extension and when I intent to generate the cache of a web page O've got this error :</p>
  
  <pre><code>Warning: filemtime(): stat failed for C:/Apache24/htdocs/symfony/app/cache/dev/annotations/Acme-DemoBundle-Controller-SecuredController.cache.php in C:\Apache24\htdocs\symfony\vendor\doctrine\common\lib\Doctrine\Common\Annotations\FileCacheReader.php line 97
  </code></pre>
  
  <p>This is my <em>opcache</em> config :</p>
  
  <pre><code>zend_extension="c:\php\ext\php_opcache.dll"
  opcache.enable=1 
  opcache.use_cwd=0 
  opcache.validate_timestamps=0         ; file stat 
  opcache.revalidate_freq=2    ; seconds 
  opcache.revalidate_path=0 
  opcache.save_comments=0 
  opcache.load_comments=0 
  opcache.dups_fix=0 
  opcache.inherited_hack=0 
  opcache.log_verbosity_level=1 
  opcache.memory_consumption=128 
  opcache.interned_strings_buffer=8 
  opcache.max_accelerated_files=4000 
  opcache.enable_file_override=1 
  opcache.max_wasted_percentage=5     ; percent waste until restart 
  opcache.consistency_checks=0 
  opcache.force_restart_timeout=180 
  opcache.blacklist_filename=paypal.php 
  opcache.fast_shutdown=1 
  opcache.optimization_level=0xffffffff 
  opcache.enable_slow_optimizations=1 
  opcache.max_file_size=0
  </code></pre>
  
  <p>When I disable this extension, the generation of the cache works</p>
  
  <p>Versions : </p>
  
  <ul>
  <li>Symfony 2.3.3 </li>
  <li>PHP 5.5</li>
  <li>Apache 2.4.6 For Windows</li>
  </ul>