Install caches like : OPcache , php-cache , nginx caches

what command should I use to installing OPcach , php-cache , nginx caches ?

OPCache is a PHP caching engine that is installed by default with PHP (v5.5+). You just need to enable it by editing your php.ini file and adding the following line:


You now just have to configure opcache (memory consumption, buffer size, etc) accordingly.

For nginx caching, you will have to add a caching directive in your Nginx top-level http context and then add caching path directives at contexts (e.g. location context) where you would want to cache server responses.

1 Like

Very nice, and thank you
Would you please help me in ngnix http2 support?
I have topic for that HTTP/2 in Nginx - #3 by raha.ab

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.