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
15
votes
5 answers
Pear - succeeded, but it is not a valid package
During a pecl package installation, i got the error,
Download of "pecl/pecl_http" succeeded, but it is not a valid package archive
Error: cannot download "pecl/pecl_http"
This error is coming for all the packages. So i tried the solution given…

Stranger
- 10,332
- 18
- 78
- 115
15
votes
5 answers
ImageMagick - PECL issue - Cannot locate header file MagickWand.h
We are getting this error while installing ImageMagick PECL:
checking ImageMagick MagickWand API configuration program... found in
/usr/local/bin/MagickWand-config checking if ImageMagick version is at
least 6.2.4... found version 6.8.6 Q16 …

capte
- 207
- 1
- 3
- 9
14
votes
6 answers
SSL issue after pear channel-update pear.php.net
I have XAMPP on Windows7. after update the pear.php.net channel with:
pear channel-update pear.php.net
and try for installing new packages, for example pecl install zmq , encountered with following message and can not install any…

msoa
- 1,339
- 3
- 14
- 33
14
votes
7 answers
Can't connect to MongoDB through PHP
I just wanted to take a look at Mongo-DB. But i just don't get it running. I've installed it with PECL and my phpinfo() tells me that the extension is loaded, but when i try to get a connection with
$mongo = new Mongo();
I get this:
Fatal error:…

mr.alex
- 503
- 1
- 8
- 16
14
votes
1 answer
How to install PECL extensions on ubuntu?
I'm really new to Ubuntu I wanted to use the PECL id3 package so I shifted from Windows to Ubuntu.
I installed php5, apache2, libcurl, php5-dev, php-pear but when I try to install the php_http extension it is giving an error. It asked for zlib and…

maniteja
- 687
- 2
- 16
- 32
13
votes
4 answers
How to install mcrypt on PHP 7.3.3 ubuntu
I tried to follow:
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so'
sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo apt-get -y install php7.2-dev
sudo apt-get -y install libmcrypt-dev
sudo pecl install…

Elia Weiss
- 8,324
- 13
- 70
- 110
13
votes
4 answers
How to update timezonedb in PHP (updating timezones info)?
phpinfo() shows our system to be using ""Olson" Timezone Database Version 2010.3". I think that is now out of date, but can't locate an authoritative location which can confirm that.
(a) Can I update the timezones info for PHP as a whole?
(b) If…

tzmatt7447
- 2,329
- 9
- 24
- 31
13
votes
1 answer
Failed to write error when installing intl extension on Os x El Capitan
I'm trying to install intl extension on Os x El Capitan. Every time i run sudo pecl install intl, i'm getting following error on the last step. I don't know why the copy operation failed. Is it a bug or am i missing something?
Any help is really…

mocak
- 405
- 2
- 5
- 12
13
votes
3 answers
Installing PHP extensions on Windows
I am using a Windows XP Home Edition. I need to install a few extensions to PHP -- memcache, APC, .etc. And I would very much like to use PECL to make this happen. The problem is PECL takes it for granted that I will have certain programs on my…

picardo
- 24,530
- 33
- 104
- 151
13
votes
2 answers
"Cannot find config.m4." while running phpize in the installation of apd using pecl
I'm trying to get access to rename_function in PHP, and for that I need PECL APD. I'm running Ubuntu 14.04 LTS.
I'm trying to run sudo pecl install apd, but I'm getting:
downloading apd-1.0.1.tgz ...
Starting to download apd-1.0.1.tgz (36,643…

Anthony
- 5,275
- 11
- 50
- 86
13
votes
2 answers
sudo pecl install apc error on os x lion
I tried installing APC with pecl on OS X Lion (sudo pecl install apc) and it complained about a missing pcre.h file:
In file included from /private/tmp/pear/temp/APC/apc.c:44:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file…

Zsub
- 1,799
- 2
- 15
- 28
12
votes
4 answers
Can I install the memcached PHP extension with PECL?
I'm having trouble installing the "memcached" PHP extension from PECL, though I can successfully installed the "memcache" extension. (They are separate PHP extensions.)
For example, these commands work okay:
$ sudo pecl install memcache
$ sudo…

richardkmiller
- 2,902
- 3
- 31
- 29
12
votes
3 answers
How can I install the php memcached extension on Docker's PHP7 Alpine image?
The official php7 docker image has the following example:
FROM php:7.0-fpm
RUN apt-get update && apt-get install -y libmemcached-dev \
&& pecl install memcached \
&& docker-php-ext-enable memcached
I'm trying to use FROM…

timetofly
- 2,957
- 6
- 36
- 76
12
votes
3 answers
PECL yaml in PHP7
Having some issues with pecl yaml in PHP7 (see below for error log). What I can see on: https://pecl.php.net/package/yaml is that there's some RC's for 2.0 that is suppose to cover the issue... I'm currently running the command:
pecl install yaml &&…

superhero
- 6,281
- 11
- 59
- 91
12
votes
7 answers
error when installing pecl memcached
I've been having real trouble installing the pecl memcached package.
Have not had any joy with any yum or pear/pecl install commands I referred to this question Install PECL Memcached Error and started trying to configure/make manually
I'm using…

joevallender
- 4,293
- 3
- 27
- 35