Hi,
Can anybody tell me what is the difference between PHP's PECL (http://pecl.php.net/packages.php) and PHP's PEAR (http://pear.php.net/packages.php)
Thanks in advance Jimmy
PEAR contains PHP script libraries (written in PHP). PECL contains extensions (not written in PHP).
Have a look at a few of each and find out.
Weedpacket wrote:PEAR contains PHP script libraries (written in PHP). PECL contains extensions (not written in PHP). Have a look at a few of each and find out.
Thanks, but can we use PECL package just like as a library in PHP or we have to put in extention folder. I have seen in 1 PECL package it contains few PHP files & c files.
Extensions need compiling (C won't run by itself). And if you're going to install them anywhere, then the best place for them would be in the directory that you've told PHP to look for them in (the setting in php.ini called "extension_dir").
Thanks alot 🙂