Questions tagged [pecl]

PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions.

828 questions
12
votes
2 answers

Memcached (not memcache) PHP extension on Windows

I can't seem to find the MemcacheD extension for PHP. There are a few compilations of php_memcache.dll, but that's not the same. The main thing I'm missing is getMulti(), which doesn't exist in Memcache. So far I found this, but there's no…
Oleg Kikin
  • 411
  • 4
  • 10
11
votes
2 answers

Install imagick on mac

I need to install imagick extension for php. I have already installed Image Magick. Then I did "sudo pecl install imagick". After this I had such output in console: Installing '/usr/include/php/ext/imagick/php_imagick.h' Installing …
user801255
  • 607
  • 1
  • 8
  • 23
11
votes
4 answers

Install YAML Pecl PHP Extension on MAMP

I'm working on a project with a number of developers over Git and the existing codebase uses PECL YAML PHP extension (v1.0.1). I have tried a number of steps to install the PECL YAML extension on my MAMP server and to no joy! I am assuming the other…
Mindblip
  • 265
  • 9
  • 16
11
votes
5 answers

SSH2 for PHP7 MacOS?

When trying to use ssh2_sftp($this->con); PHP 7.1.7 thinks Im looking for a function in the class. After some reading, I found that SSH2 needs to be installed from PECL ( http://php.net/manual/en/wrappers.ssh2.php ) When I went to do that, I got…
Oman
  • 133
  • 1
  • 1
  • 11
11
votes
2 answers

'openssl/evp.h' file not found OS x Mongodb

Having a mare with this. I'm trying to install the latest PHP mongo DB Drivers. I've looked everywhere and tried everything suggested but it will not get passed this error: In file included from…
Ben Summerhayes
  • 429
  • 3
  • 10
11
votes
1 answer

Installing php redis with igbinary, header file is not found

I'm trying to install the phpredis extension, but no luck. After running the command ./configure --enable-redis-igbinary, I've received the following error: checking for igbinary includes... configure: error: Cannot find igbinary.h igbinary was…
jonathancardoso
  • 11,737
  • 7
  • 53
  • 72
11
votes
6 answers

Parallel HTTP requests in PHP using PECL HTTP classes [Answer: HttpRequestPool class]

The HttpRequestPool class provides a solution. Many thanks to those who pointed this out. A brief tutorial can be found at: http://www.phptutorial.info/?HttpRequestPool-construct Problem I'd like to make concurrent/parallel/simultaneous HTTP…
Jon Cram
  • 16,609
  • 24
  • 76
  • 107
11
votes
5 answers

Why are there no longer Windows binaries for PECL extensions like pecl_http?

I'm working on a PHP project running on Windows and it would be so very handy to be able to use pecl_http rather than working with cURL and re-inventing the wheel in order to do all the cool stuff the pecl extension does like parsing headers and so…
Iain Fraser
  • 6,578
  • 8
  • 43
  • 68
10
votes
6 answers

pecl fails installing mongodb driver on Apple Silicon (M1)

I have php 7.4 installed on my macbook pro m1 % php -v PHP 7.4.15 (cli) (built: Feb 26 2021 09:28:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.15, Copyright (c), by Zend…
Cesar Jr Rodriguez
  • 1,691
  • 4
  • 22
  • 35
10
votes
2 answers

"PHP Fatal error: Class 'HttpRequest' not found"

I've been stuck trying to solve this problem in many ways, reading a lot of posts but still having no luck. I work on a Mac, OSX 10.7 Lion, and I'm writing a plugin for a WordPress site (php files) using MAMP, and at one point I have to make an HTTP…
chechab
  • 101
  • 1
  • 1
  • 4
10
votes
2 answers

PHP mailparse.so error - undefined symbol mbfl_convert_filter_flush

sudo pecl install mailparse ends with: Build process completed successfully Installing '/usr/lib64/php/5.5/modules/mailparse.so' install ok: channel://pecl.php.net/mailparse-2.1.6 configuration option "php_ini" is not set to php.ini location You…
Val Kornea
  • 4,469
  • 3
  • 40
  • 41
10
votes
4 answers

pecl_http failed to load

This is my server configuration: CentOS release 6.5 (Final) PHP 5.5.7 pecl_http 2.0.4 stable Server version: Apache/2.2.15 (Unix) I have everything up and running except when I tried to load the pecl_http module it gives me the following…
iEmad
  • 625
  • 1
  • 7
  • 20
10
votes
4 answers

PHP PECL_HTTP vs cURL Extension

I'm working on a PHP Client for CouchDB. While browsing through the php.net documentation regarding HTTP and cURL, I came across the PECL_HTTP Extension. At first glance, I think I would like to use this PECL extension instead of cURL because it's…
Dominic Barnes
  • 28,083
  • 8
  • 65
  • 90
10
votes
6 answers

How to install amqp on windows

I am having this error while installing pecl/amqp when I type in the command line: pear install pecl/amqp WARNING: php_bin C:\xampp\php.\php.exe appears to have a suffix .\php.exe, but config variable php_suffix does not match ERROR: The DSP…
See Sharp Beta
  • 147
  • 1
  • 4
  • 12
10
votes
3 answers

Mountain Lion php pear and pecl

I've upgraded to Mountain Lion and installed php5.4 which took a bit of tweaking Mountain Lion change php location My next issue is if I run pear -v or pecl -v these return Could not open input file: /usr/lib/php/pear/pearcmd.php Could not open…
ianckc
  • 1,716
  • 5
  • 18
  • 33