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

  • 48 Users Found This Useful
Was this answer helpful?

Related Articles

How to List Compiled PHP Modules from Command Line

Pre-Flight Check These instructions are intended specifically for listing compiled PHP modules...

How to Install the MongoDB PHP Driver (Extension) on CentOS 6

Step 1: Setup Environment, Install PHP Extension & Application Repository (PEAR) As a matter...

How to Add a User and Grant Root Privileges on CentOS 6.5

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

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

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

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...

Powered by WHMCompleteSolution