How To Install XCache for PHP on CentOS

September 27, 2016

How To Install XCache

How To Install XCache for PHP on CentOS

How To Install XCache for PHP on CentOS? XCache is a fast, stable PHP opcode cacher. This relatively new opcode caching software has been developed by mOo. XCache optimizes performance caching the compiled state of PHP scripts into the RAM and uses the compiled version straight from the RAM. This may increase php execution 1-5 times faster than default installation

Install XCache for PHP on CentOS

First add EPEL yum repository your system.

CentOS 6:

CentOS 7:

Install XCache for PHP

Configuring of XCache for PHP

You can modify the settings in the xcache.ini file according to your needs. Detailed explanation about these settings you can find at the xCache official wesbsite.

Restart your Nginx web server

At this point xCache should be successfully installed on your vps. You can confirm that by executing the following command:

Congratulation’s! You have successfully installed XCache for PHP.

Save