pecl and pear differences and connections

Pear: a PHP extension code package, all extensions are in the form of PHP code appears, is powerful, easy to install, even with a change to change it. When in use, to be able to use Include in your code.


Pecl: is a standard extension for PHP, you can add the necessary actual development function, all extensions need to be installed, in the form of Dll under Windows, in linux below, we need to be compiled separately, and its manifestation is based on PHP the official standard written in C, although most people can not open source but free to change the source code.


The most direct expression: Pear is the upper extension for PHP, Pecl the underlying extension for PHP.
 
 
This is a collection of some of the PHP extension module
extension PHP There are two ways
one is to write functions and classes with pure PHP code, pear is one such project, the home page is pear.php.net
Another is to use c or c ++ to write external module loaded into the php, pecl is doing this thing, the home page is pecl.php.net

Both methods are in fact provide ready-made functions or classes for specific applications, are essentially the same
---------------------

turn: https: //blog.csdn.net/u013619834/article/details/38925573

 

Guess you like

Origin www.cnblogs.com/fps2tao/p/11312972.html