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:
- Open php.ini (by default it should be located here: C:\xampp\php\php.ini).
- 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.
- Restart Apache server.