How to Install or Uninstall PECL Extensions

Pre-Flight Check
  • These instructions are intended specifically for installing or uninstalling PECL Extensions.
  • I’ll be working from an XWEB 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

  • 76 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add a User and Grant Root Privileges on Ubuntu 12.04

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

How to Create a Self-signed SSL Certificate on Ubuntu

An SSL certificate is an electronic ‘document’ that is used to bind together a public...

How to Install VNC Server on Ubuntu 14.04 LTS

VNC is short for ‘Virtual Network Computing’. It’s a simple method for sharing a graphical...

How to Disable Automatic Background Updates for WordPress Core

The following process works with all WordPress versions after version 3.7. There are several...

How to Install and Configure ProFTPD on Ubuntu 12.04 LTS

Step 1: Install ProFTPD Warning: FTP data is insecure; traffic is not encrypted, and all...

Powered by WHMCompleteSolution