W
W
wikipro2015-04-07 15:56:18
PHP
wikipro, 2015-04-07 15:56:18

Why do we need PHP extensions on PECL?

PHP has extensions such as php-apc and php-memcache. They can be installed from the regular repository or from PEAR/PECL . What is the point of using PEAR/PECL?? how much more stable is memcache from pecl and how much does it consume less resources?? (relevant for ububntu 12.04 14.04 and PHP 5.3 and 5.5)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2015-04-07
@wikipro

What is the point of using PEAR/PECL??

PECL is a repository of native extensions written in C.
They are usually used when something cannot be implemented in pure PHP, such as function or operator overloading.
packagist - PHP dependency repository, work with it via composer .
This is a must have for any project.
PEAR is dead, composer / packagist is used instead .

P
Papa, 2015-04-07
Stifflera @PapaStifflera

If the repository has an up-to-date version at the moment, install it and don't worry. But, alas, this is not always the case. In this case, you can install from PECL.

O
olamedia., 2015-04-07
@w999d

pecl - for native extensions, pear - for php extensions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question