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
27
votes
8 answers

installing amqp on mac with brew

I wanted to install amqp with pecl for my mac sierra. I installed php with brew, with pecl install amqp I receive an error: checking for amqp using pkg-config... configure: error: librabbitmq not found I installed with brew the librabbitmq-c…
ghostika
  • 1,473
  • 1
  • 12
  • 23
27
votes
4 answers

Having problems while try to install OAUTH with PECL in MAMP on mac OS lion

i am new to setting php servers, and i had go though other related post, seems like nobody have the same error as i have. I am using MAMP 2.0.2, and running PHP 5.3.6, and I was trying to install oAuth on my local MAMP, using following commands: $…
David Chen
  • 271
  • 1
  • 3
  • 5
23
votes
5 answers

Can't get to install 'intl' extension for php on debian

I have a Debian server and I want to install the intl extension through pecl. During the installation it asks me: "Specify where ICU libraries and headers can be found [DEFAULT] :" Here I've been trying several options, including leaving it empty…
matubaum
  • 231
  • 1
  • 2
  • 3
23
votes
3 answers

Error 1 ERROR: `make' failed when installing sqlsrv

I'm trying to install sqlsrv by using the commands from this page. However, when running pecl install sqlsrv-4.2.0preview I get the error: Error 1 ERROR: 'make' failed. I tried : apt-get update apt-get install build-essential apt-get install…
Edeholland
  • 377
  • 1
  • 3
  • 7
23
votes
4 answers

phpize Can't find PHP headers in /usr/include/php

stack: PHP 5.4.23, php-fpm, nginx 1.4.x, centos 6.5 I was trying to install xdebug, had to run phpize command. I have php5-devl already installed and pecl command works When I ran the command, it gave me the following error output: # phpize Can't…
Matical
  • 454
  • 1
  • 4
  • 19
22
votes
4 answers

Install oAuth PECL error: Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user

I'm trying to instal oAuth on OS X, but I am getting this error in the Terminal: Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user How do I allow it to be writable?
Steve C
  • 2,638
  • 3
  • 25
  • 27
21
votes
2 answers

pecl install apc isn't working. shtool does not exist

I am an absolute newbie…didn't learn about SSh till an hour ago and got my first VPS 2 hours ago. Still learning! So I'm installing MediaWiki and need to add APC extension. But having a lil trouble. Any ideas/tips? [root@www ~]# pecl install…
Jimmy Wang
  • 239
  • 1
  • 2
  • 5
20
votes
1 answer

How to get specific version of a package with pecl install?

Xdebug was updated to version 3 and currently it will be installed in its latest version when I run pecl install xdebug This broke a Dockerfile and an XDebug setup. While I plan to upgrade to xdebug@3 in the long run, I want for now to force…
k0pernikus
  • 60,309
  • 67
  • 216
  • 347
20
votes
9 answers

struggling to install PHP pecl on Centos

I'm trying to install the php_http PHP extension on my CentOS server. I have done: yum install php-pear But get: No package php-pear available Yet I can do: pear And get a list of commands from Pear. Same for yum install pecl. I can do pecl but…
Harry
  • 2,429
  • 4
  • 21
  • 26
19
votes
7 answers

Installing AMQP through PECL

I'm trying to install the RabbitMQ PECL extension but after running sudo pecl install amqp I get the following cryptic error message, which extensive googling hasn't helped resolve. I have these packages installed: librabbitmq - RabbitMQ C…
managedheap84
  • 841
  • 2
  • 10
  • 22
19
votes
1 answer

WARNING: "pecl/mongo" is deprecated in favor of "channel:///mongodb"

What does that pecl message mean? I mean specifically how does one use the channel described in the error message? ... or in other words how can I address this error (but not specific to mongo, i.e. I get this failure not just when trying to…
geoidesic
  • 4,649
  • 3
  • 39
  • 59
18
votes
6 answers

Ubuntu pecl install pecl_http fail

I'm trying to install this extension but it fails in the configuration phase. I'm on ubuntu 12.04 and I have just installed these packages: libcurl3-openssl-dev php-http libpcre3-dev libcurl3 php-pear php5-dev PHP version: PHP 5.3.10-1ubuntu3.14…
GareDeveloper
  • 393
  • 1
  • 3
  • 13
18
votes
6 answers

PECL extension for Windows

I found a few related posts here but didn't get my answer. So posting again. How would I install a PECL extension on windows? Say I want the PECL oAuth extension on Windows XP. I know 2 methods, but none of them is working for me. The site…
Varun
  • 4,054
  • 6
  • 31
  • 54
16
votes
3 answers

How to list all versions of a pecl package

Is it possible to list all versions of a pecl package? pecl search xdebug, for example, only lists the latest 3.0.1 version. But I'm wanting the latest 2.x version.
parleer
  • 1,220
  • 3
  • 12
  • 22
15
votes
4 answers

Pear error "XML Extension not found" on Ubuntu 14.04 after installing php-xml & php-xml7.0

I wanna use the pecl command to install redis to my php on Ubuntu 14.04. But my Pear is giving me a list of warnings: Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in…
Towen
  • 175
  • 1
  • 1
  • 10
1
2
3
55 56