Posts

Showing posts from September, 2018

Improve PHP Application Speed By Using APCu

Image
The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. This extension is considered unmaintained and dead. The new alternative is called APCu. APCu is APC stripped of opcode caching. The first APCu codebase was versioned 4.0.0, it was forked from the head of the APC master branch at the time. PHP 7 support is available as of APCu 5.0.0. APCu is used to keep copies of data in memory, then reducing the time required to make queries, data filtering, data processing, etc. Many frameworks like WordPress supports APCu caching by adding caching plugins such as W3 Total Cache, or you can make your own custom code to use it the way you want. Installation On Linux systems such as Centos, you can install it via the Yum package manager according to php version yum install php56w-pecl-apcu On Microsoft Windows with XAMPP installed, you can enable it by adding the dll extensi