New to PEAR and PECL

Do you have questions regarding Pecl or Pear? ask here!

Moderators: egami, macek, gesf

Post Reply
makarakao
New php-forum User
New php-forum User
Posts: 51
Joined: Wed Aug 24, 2005 2:10 am
Contact:

Tue Dec 20, 2005 5:18 pm

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

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Tue Dec 20, 2005 7:54 pm

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.

makarakao
New php-forum User
New php-forum User
Posts: 51
Joined: Wed Aug 24, 2005 2:10 am
Contact:

Wed Dec 21, 2005 12:12 am

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

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Wed Dec 21, 2005 5:00 am

you can always go to pear.php.net and pecl.php.net to read the manual and some introduction
its probably the only thing you will need
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply