How to Install XCache on Fedora 20
- These instructions are intended specifically for installing XCache, an open-source opcode cacher.
- I’ll be working from a Liquid Web Self Managed Fedora 20 server with Apache and PHP installed, and I’ll be logged in as a non-root user. If you need more information then visit our tutorial on How to Add a User and Grant Root Privileges on Fedora 20.
As a matter of best practice we’ll update our packages:
sudo yum -y update
Then let’s install XCache and any required packages:
sudo yum -y install php-xcache xcache-admin
Now verify that the extension is available by using the following command:
php -m | grep XCache
Your result should be:
XCache
XCache Cacher
XCache Coverager
XCache Optimizer
XCache
XCache Cacher
XCache Coverager
XCache Optimizer
Listing the PHP version should now include information about XCache as well:
php -v
PHP 5.5.6 (cli) (built: Nov 13 2013 09:49:19)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo
Related Articles:
![Avatar for J. Mays](/static/b9bfb850e038ebe4b3c49dd278744eee/9ca7a/b0da076b6e8552394da33fe3381a19fc.png)
About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to install PyTorch on Linux (AlmaLinux)
Read ArticleInnovative armor — exploring ThreatDown’s impact on cyber defense
Read ArticleControlling PHP settings with a custom php.ini file
Read ArticleLinux dos2unix command syntax — removing hidden Windows characters from files
Read ArticleChange cPanel password from WebHost Manager (WHM)
Read Article