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.

Advertisement

extension=EXTENSTION_NAME_HERE.so
Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement