What are PECL extensions
PECL extensions are third-party extensions for PHP. These extensions often add new built-in functions to PHP that do not exist in the core PHP language. PECL extensions are often used to provide a way for PHP code to interact with additional system libraries.
Install the Compiler
As PECL extensions are compiled programs, you must first install a compiler and related tools and libraries. To install the compiler, run the following command on your server as root.
sudo apt-get -y install gcc g++ make autoconf libc-dev pkg-config