PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions.
Questions tagged [pecl]
828 questions
150
votes
6 answers
What are differences between PECL and PEAR?
I can see that GD library is for images. But I can't see differences between PECL and PEAR.
Both have authentication.
What are the main differences between two?
Why don't they combine them?

shin
- 31,901
- 69
- 184
- 271
110
votes
6 answers
$PHP_AUTOCONF errors on mac os x 10.7.3 when trying to install pecl extensions
I am trying to setup my machine with pecl_http and memcache and in both cases, I get similar errors. This is on MAC OS X 10.7.3 (lion) and I also have XCODE installed on it. I also installed Zend Server community edition before running these…

krishna
- 3,547
- 5
- 27
- 29
100
votes
5 answers
configure: error: Please reinstall the libzip distribution
I am getting this error, when trying to install Zip for PHP 7:
pecl install zip
yields the error
configure: error: Please reinstall the libzip distribution
I did not find anything related to this error.
I tried apt-get install libzip but the…

Tobias Gassmann
- 11,399
- 15
- 58
- 92
96
votes
4 answers
Install PECL modules without the prompts
I just installed PHP on Ubuntu Natty from source.
I'm trying to use PECL to install additional modules like APC and Memcache. I'm using something like this:
pecl install apc
However, I get prompts asking me to confirm things.
How can I use the pecl…

ObiHill
- 11,448
- 20
- 86
- 135
62
votes
7 answers
Howto: Install Imagick (for php) on Ubuntu 11.10
I'm attempting to install ImagicK as its required for a Yii Extension I want to use for my project.
I've checked around and followed a few different suggestions but nothing that has worked so far, ultimately the framework extension is still throwing…

DJSunny
- 1,970
- 3
- 19
- 27
58
votes
4 answers
How to install php extension using pecl for specific php version, when several php versions installed in system?
I have installed both php5.6 and php7.0 from PPA on Ubuntu according to this manual
http://lornajane.net/posts/2016/php-7-0-and-5-6-on-ubuntu
But I didn't get how to install extensions using pecl for php5.6 or php7.0.
For example I have already…

Oleg Abrazhaev
- 2,751
- 2
- 28
- 41
58
votes
10 answers
Installing pecl and pear on OS X 10.11 El Capitan, macOS 10.12 Sierra, macOS 10.13 High Sierra (< 10.13.3)
So it looks like the new 'System Integrity Protection' lockdown of /usr (among other directories) makes pear and pecl a non-starter. Has anyone found a workaround short of disabling it?

axlotl
- 1,412
- 1
- 13
- 20
51
votes
6 answers
sudo pecl install apc returns error
I run the command: sudo pecl install apc
The file gets downloaded, the configuration succeeds, then make is launched and I get the following error.
/usr/include/php5/ext/pcre/php_pcre.h:29: fatal error: pcre.h: No such file or directory
Is there a…

Nicolas de Fontenay
- 2,170
- 5
- 26
- 51
45
votes
2 answers
What's the difference between "extension" and "zend_extension" in php.ini?
When I installed Xdebug through pecl, it added the following line to my php.ini file.
extension="xdebug.so"
and everything I used worked. Until today.
Today I was having trouble setting up Xdebug for interactive debugging. I couldn't get anything…

Alana Storm
- 164,128
- 91
- 395
- 599
39
votes
6 answers
Issue in installing php7.2-mcrypt
As I'm trying to load mcrypt extension module from PHP 7.2.X version.
So I tried to make use of PECL library that is compatible to the current version of my PHP, in order to get installed
and followed this link:
Installing mcrypt on PHP 7.2 during…

Nɪsʜᴀɴᴛʜ ॐ
- 2,756
- 4
- 33
- 57
38
votes
4 answers
PHP-friendly NoSQL solutions
I'm looking to use a NoSQL solution for my next project, which will be written in PHP. What choices do I have in terms of NoSQL solutions that can easily interfaced via PHP? I haven't done much thinking about the architecture yet, so I'm not sure…

mattbasta
- 13,492
- 9
- 47
- 68
32
votes
5 answers
pecl:command not found
I'm trying to run the following command in terminal on my macbook pro
cd /tmp; pecl download memcached
but im getting
pecl:command not found.
after a days googling I cant find out whats up. Does anyone have a solution?

jdee
- 11,612
- 10
- 38
- 36
31
votes
7 answers
pecl installs for previous php version
I've upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) version of PHP instead of version 5.4.
PHP version:
$ php -v
PHP 5.4.17 (cli)…

Rene Terstegen
- 7,911
- 18
- 52
- 74
30
votes
3 answers
phpize won't work on Mac OS X Lion
I try to install xdebug but I get the follow error message about 'phpize'.
How can I fix this thing?
leny:~ nick$ sudo pecl install xdebug
Password:
downloading xdebug-2.1.2.tgz ...
Starting to download xdebug-2.1.2.tgz (304,229…

directory
- 3,093
- 8
- 45
- 85
27
votes
2 answers
Install PECL on Mac OS X 10.6
Is there any way to install PHP:s PECL handler on Mac OS X 10.6, to be used with the bundled PHP?

Manne W
- 1,459
- 4
- 17
- 31