How To Install XCache on Fedora 23

Reading Time: < 1 minute
Note:
Please note that this article is considered legacy documentation because Fedora 23 has reached its end-of-life support.

Pre-Flight Check

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 XCache XCache Cacher XCache Coverager XCache Optimizer 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
Refer a friend and get hosting credit!