How to Config Zend Opcache & Clear Zend Opcache


VPSSIM have a function to Config Zend Opcache. Using this function we can config:

  1. RAM Zend Opcache Usage
  2. Max Files Zend Opcache can cache
  3. Auto Clear Time: Zend Opcache auto clear php cache every “Auto Clear Time” seconds

When Zend Opcache enabled in Server, VPSSIM will show those infomation is status bar:

view zendopcache status in vpssim status bar

This post, i will show you how to config Zend Opcache and clear Zend Opcache by VPSSIM.

1. How to Config Zend Opcache

Config Zend Opcache by Config Zend Opache function in Zend Opcache Manage.

The Path to  this function: VPSSIM menu ==> Zend Opcache Manage ==> Config Zend Opcache

how to config zend opcache in vpssim

Then:

how to config zend opcache in vpssim

Text:

Config Zend Opcache Finished:

how to config zend opcache in vpssim

2. How to Clear Zend Opcache

If you enable Zend Opcache for your VPS, whenever you edit php files, you must clear Zend Opcache to make your edit to effect.

There are three ways to clear Zend Opcache

1. Use command

Centos 6:

Centos 7:

2. Use Zend Opcache Control Panel

Use Link View Zend Opcache Status in Zend OPcache Manage to get  Zend Opcache Control Panel link in browser.

how to clear zend opcache in vpssim

+ Clear Zend Opcache for all website

how to clear zend opcache in vpssim

+ Clear Zend OPcache 1 website

how to clear zend opcache in vpssim

+ Use Clear OPcache function in Zend OPcache Manage

how to clear zend opcache in vpssim

Related Post: