Yahaay CodeStash

How to install XCache to accelerate and optimize PHP performance

Step 1. First add EPEL yum repository your system.

CentOS 6:

CentOS 7:

Step 2. Install XCache for PHP.

Step 3. 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.

Step 4. Restart your Nginx web server.

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

Leave a Reply

Your email address will not be published. Required fields are marked *