Install Zend OpCache on OpenLiteSpeed Server

Zend OpCache GUI

To install Zend OpCache on OpenLiteSpeed Server, run apt install -y lsphp73-opcache Now restart PHP with command killall -9 lsphp Zend OpCache GUI Zend OpCache GUI shows stats for OpCache. This is for monitoring purpose only. You can download it from https://github.com/amnuts/opcache-gui All you need to do is download the files, exact it, upload it … Read more

Zend OpCache

Here is a PHP script to check if PHP Zend OpCache is enabled on your server. https://gist.github.com/HostOnNet/e3f36fe923d408b8597575d601114a88 You can use OpCache GUI to see detailed stats https://github.com/amnuts/opcache-gui Install Zend OpCache on OpenLiteSpeed Server See php

Enable Zend OPcache in PHP

Zend OPcache in phpinfo

To enable Zend OPCache in PHP, edit php.ini add following to end of the file zend_extension=opcache.so Now you may need to adjust some settings, in php.ini uncomment following, change values as needed. opcache.enable=1 opcache.enable_cli=1 opcache.memory_consumption=128 opcache.max_accelerated_files=10000 opcache.validate_timestamps=1 opcache.revalidate_freq=10 Verify it with [root@vps154294 php]# php -m | grep Zend Zend OPcache [Zend Modules] Zend OPcache [root@vps154294 … Read more