What is pear? What is PECL?

Source: Internet
Author: User
Tags php language pear

This article mainly introduces what is pear? What is pecl? Two confusing concepts in PHP explain the differences in concise language, the need for friends can refer to the

Overview

About PEAR,PECL These two things, beginner PHP when you know, but it seems to use people rarely add to the previous is also in Windows to do development, so do not know much, now turn to the Mac, the two things thoroughly to find out.

What is Pear

Pear's full name is PHP Extension and application Repository, PHP's extension library, written in PHP language. So we can download it directly and include the (include) extension library in our code.

What is PECL

Pecl's full name is the PHP Extension Community Library, which is also an extension of PHP. PECL extensions are written in C, can be loaded into PHP, add extra functionality to PHP, such as PHP's MONGO extension.

PEAR VS PECL

Pear is written in PHP, pecl by C language

Pear is also a standard for PHP coding

Summarize

After installing the PHP extension library, such as MONGO expansion, direct use of pecl installation, should not appear version mismatch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.