New to PEAR and PECL



Hi everybody!

I wonder how PEAR and PECL works, how to use it and when do we need to use it. I really want to know and learn it but no guide.
Could anyone help explain it to me?

Thanks in advance.
Makara Kao
PEAR is nothing but a bunch of PHP files , which are copied into your PEAR include directory (upon that PEAR package installation ). To use that packagae, you need to include those files in your script and then use it.

PECL, is C code, which needs to compiled with PHP, it is an external module kind of which is built into PHP. for all the pecl functions, you need not include anything.. and directly make those calls.
Thanks for your explanation, Ruturajv.

Could you tell me where I can get the PEAR and PECL tutorial?
I really want to know more.

Thanks in advance.
Makara Kao
you can always go to and to read the manual and some introduction
its probably the only thing you will need
PEAR (PHP Extension and Application Repository) and PECL (PHP Extension Community Library) are package distribution systems for PHP, which allow you to easily install and manage reusable PHP components, libraries, and extensions.