PHP OPcode Caching Not enabled in XAMPP | windows-10

When you are installing latest version of "Drupal 8'  on your localHost . You might get a warning message that "PHP OPcode Caching Not enabled" Under "Requirements review"  . We need to enable Php OPcode to improve our Drupal website perfromance.

Let's enable PHP OPcache on XAMPP windows 10 /8/7 operating system.

  1. Open the Php.ini file , it can be found in Local-Disk (c:) >> Xampp >> php >> php.ini
  2.  Add the below code at the bottom of php.ini file
    zend_extension = "C:\xampp\php\ext\php_opcache.dll"
  3. Save the file and restart the apcahe server
category: