How to Install or Uninstall PECL Extensions

Posted on by J. Mays
Category: Technical Support | Tags: pear, PECL
Reading Time: < 1 minute
Pre-Flight Check
  • These instructions are intended specifically for installing or uninstalling PECL Extensions.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root. That said, these instructions will work on any server where PECL and PEAR are installed.

PECL, or the PHP Extension Community Library, is a repository for PHP extensions. There are many, many PECL extensions including, but not limited to: 1. database extensions, such as mongo, and 2. networking extensions, such as geoip.

The general command is pecl install extension. As an example, to install the PECL extension for perl:

pecl install perl

The general command is pecl uninstall extension; to uninstall the PECL extension for perl:

pecl uninstall perl

Avatar for J. Mays

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

How to use kill commands in Linux

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change the root password in WebHost Manager (WHM)

Read Article