PECL is a repository of PHP extensions. It's a sister of PEAR
.
PEAR is for pure PHP packages, while PECL is for C extensions.
$ pecl install extname # OR # pecl install extname-0.1
phpize
is a lower-level build tools to perform the build manually.
The phpize command is used to prepare the build environment for a PHP extension.
% phpize % configure % make % make test ;# optional % make install
Built for 64bit:
CFLAGS=-m64 CPPFLAGS=-m64 CCASFLAGS=-m64 ./configure
Multiple version PHP:
./configure --with-php-config=/path/to/php-config