Exclusive Savings: Up to $100/mo off Dedicated ServersShop Now
Limited-Time Offer | 25% Off Monthly VPS Hosting | Promo Code : LW25Cloud* †††Shop Now
Dedicated Hosting Deals | From $99/moShop Now

How to Install XCache on Ubuntu 15.04

Posted on by J. Mays | Updated:
Reading Time: < 1 minute
Note:
Please note that this article is considered legacy documentation because Ubuntu 15.04 has reached its end-of-life support.

Pre-Flight Check

  • These instructions are intended specifically for installing XCache, an open-source opcode cacher, on Ubuntu 15.04.
  • I’ll be working from a Liquid Web Self Managed Ubuntu 15.04 server with Apache and PHP installed, and I’ll be logged in as non-root user. If you need more information then visit our tutorial on How to Add a User and Grant Root Privileges on Ubuntu 15.04.

Step #1: The Installation

As a matter of best practice we’ll update our packages:

sudo apt-get update

Then let’s install XCache and any required packages:

sudo apt-get install php5-xcache

Step #2: Verify the Extension is Available

Now verify that the extension is available by using the following command:

php -m | grep XCache

Your result should be similar to:

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.6.4-4ubuntu6.2 (cli) (built: Jul 2 2015 15:29:28)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
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

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!

Latest Articles

ChatGPT Integration — How to Create a Plugin for ChatGPT

Read Article

What is CentOS? Everything You Need to Know

Read Article

What is CentOS? Everything You Need to Know

Read Article

Redis as Cache: How It Works and Why You Should Use It

Read Article

Refer-a-Friend Program for Website Hosting: Get $100 for Each Friend!

Read Article