XAMPP 5.6.21 enable OPcache

Trabla:  XAMPP 5.6.21 enable OPcache


XAMPP 5.6.21 enable OPcache

By default OPcache is disabled. Check XAMPP phpinfo page
http://localhost/dashboard/phpinfo.php

XAMPP 5.6.21 enable OPcache tutorial 1





Solving:


Watch on YouTube

1. In XAMPP Control Panel stop Apache

XAMPP 5.6.21 enable OPcache tutorial 2


2.  Open "Config"->"php.ini"

XAMPP 5.6.21 enable OPcache tutorial 3


3. In php.ini find following string

;opcache.enable=0

XAMPP 5.6.21 enable OPcache tutorial 4


replace with

opcache.enable=1


XAMPP 5.6.21 enable OPcache tutorial 5


4. Add to the end of php.ini file
following string

zend_extension = "C:\xampp\php\ext\php_opcache.dll"

XAMPP 5.6.21 enable OPcache tutorial 6


5. Save php.ini and start Apache

XAMPP 5.6.21 enable OPcache tutorial 7


6. Check phpinfo page
http://localhost/dashboard/phpinfo.php

XAMPP 5.6.21 enable OPcache tutorial 8

No comments:

Post a Comment