- These instructions are intended specifically for installing XCache, an open-source opcode caching tool, on Fedora 23. To install XCache on another operating system, follow our guides for CentOS 7, Ubuntu 14.04 LTS, and Ubuntu 15.04.
- We’ll be logging in as a non-root user to a Liquid Web Self-Managed Fedora 23 server. If you need more information then visit our tutorial on How to Add a User and Grant Root Privileges on Fedora 23.
Step #1: Install XCache
As a matter of best practice we’ll update our packages with:
sudo dnf -y update
Now we’ll install XCache and any required packages with the following command:
sudo dnf -y install php-xcache xcache-admin
Step #2: Verify the Extension is Available
You can verify that the extension is available with the following command:
php -m | grep XCache
That will output results similar to:
[root@host ~]# php -m | grep XCache
Listing the PHP version with “php -v” should now also include information about XCache:
[root@host ~]# php -v
PHP 5.6.19 (cli) (built: Nov 26 2015 08:32:41)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.