Enable PHP opcache extension on Windows XAMPP

If your XAMPP comes with PHP 5.5+ by default, opcache already included in the bundle, you will just need to enable it. To enable the extension:

  1. Open php.ini (by default it should be located here: C:\xampp\php\php.ini).
  2. Add this line at the end of the file: zend_extension = "C:\xampp\php\ext\php_opcache.dll"
    You will need to adjust the path if you installed XAMPP in non default location.
  3. Restart Apache server.

Comments

drupalroxx said…
thank you for providing such a great help :)
Anonymous said…
And it is also working for me. Thank you!
arjun madhav said…
Hey..thanks a ton! it resolved my problem :)

Popular posts from this blog

Error code 8024001b (solved)

Hiren can not load the CD ROM Driver