How to install PHP PECL Extension

PECL is a repository for PHP extensions. To install PHP extensions from PCEL, you can use the command

pcel install EXTENSTION_NAME_HERE

To install a specific version, you can specify version after extension name as follows.

pecl install pecl_http-3.2.3

Once an extension is installed, you need to edit PHP configuration and add a line to load the PHP module.

extension=EXTENSTION_NAME_HERE.so

Back to PECL

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *