KNOWNHOST WIKI

User Tools

Site Tools


developmental:php-opcode-caching-guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developmental:php-opcode-caching-guide [2018/12/18 14:21]
Daniel P.
developmental:php-opcode-caching-guide [2019/10/11 13:06] (current)
Karson N.
Line 64: Line 64:
 
In WHM interface opcache module could be added from (Home » Software » EasyApache 4). Click on "​Customize"​ button, enable opcache module on "PHP extensions"​ sections, and apply the changes. 
In WHM interface opcache module could be added from (Home » Software » EasyApache 4). Click on "​Customize"​ button, enable opcache module on "PHP extensions"​ sections, and apply the changes.
  
-
{{developmental:​opcache_whm_add_opcache.jpg?​direct&600|}}+
{{developmental:​opcache_whm_add_opcache.jpg?​nolink&800|}}
  
 
=== Zend OPcache configuration === 
=== Zend OPcache configuration ===
Line 118: Line 118:
  
 
Just copy the file index.php (of course with renaming it to, for instance, opcache.php) 
Just copy the file index.php (of course with renaming it to, for instance, opcache.php)
-to site's root directory and open in the browser.
{{developmental:​opcache_gui.jpg?​600&direct|}}+to site's root directory and open in the browser.
{{developmental:​opcache_gui.jpg?​nolink&800|}}
  
 

==== APC ==== 

==== APC ====
Line 164: Line 164:
 
Download the php script https://​raw.githubusercontent.com/​krakjoe/​apcu/​master/​apc.php in site's document root. Then open it in a browser and you could see the current cache usage. 
Download the php script https://​raw.githubusercontent.com/​krakjoe/​apcu/​master/​apc.php in site's document root. Then open it in a browser and you could see the current cache usage.
  
-
{{developmental:​apcu.jpg?​direct&600|}}+
{{developmental:​apcu.jpg?​nolink&800|}}
developmental/php-opcode-caching-guide.1545142883.txt.gz · Last modified: 2018/12/18 14:21 by Daniel P.