Questions tagged [pecl]

PECL (PHP Extension Community Library) is a repository of PHP Extensions.

107 questions
54
votes
7 answers

PECL command produces long list of errors

Currently running PHP 5.4 on CentOS 6.5. I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL. Shortly after, I realized 5.5 is not compatible with the framework I was working with so…
eComEvo
  • 971
  • 3
  • 17
  • 31
45
votes
1 answer

how to install an older version of a pecl package

I have this code $passengerId = new \MongoId(oPassenger->getId()); return $this->createQueryBuilder('Device') ->update() ->multiple(true) ->field('activated')->set(false) …
abbood
  • 1,087
  • 3
  • 13
  • 21
27
votes
2 answers

Installing imagick PHP extension on Ubuntu

I'm trying to install the imagick pecl extension on my Ubuntu server and am getting the below error. I've installed the ImageMagick rpm using aptitude already and the pecl extension is version 2.3.0. I've looked around online but can't find anything…
Steven Surowiec
  • 385
  • 1
  • 3
  • 7
27
votes
1 answer

How to install PECL on a linux system

There are download sections for PECL extensions in http://pecl.php.net/ But I am not getting install steps for PECL *itself**. Following command does not work - yum intall pecl In my system, I have PECL installed, so I can install PECL extensions…
Sandeepan Nath
  • 617
  • 6
  • 13
  • 27
9
votes
2 answers

pecl install mongo - keeps compiling with wrong module API

Working with Ubuntu 12.04 here, nginx and php5-fpm I had mongo working well on php 5.3, then I added the ondrej/php5 ppa and updated to php5.4. It kept GD and CURL extensions, but not mongo. I re-added the line to the php.ini file, and nothing. Then…
kavisiegel
  • 349
  • 1
  • 3
  • 12
9
votes
8 answers

Installing/enabling PHP Pecl Intl extension on CentOs 5

Original question: I'm having trouble installing the PHP Pecl Intl extension on my CentOs 5 machine. After installing both icu and libicu with the following commands: $ yum install icu $ yum install libicu I tried to install the Intl extension like…
Marijn Huizendveld
  • 171
  • 2
  • 2
  • 6
7
votes
3 answers

Error with PECL command in PHP7

I've upgraded php to version 7 and now I have problems with pecl command. When I run sudo pecl install mongo I get long list of errors: Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied…
Alen
  • 229
  • 3
  • 4
  • 6
7
votes
3 answers

How can I pass configure options when installing php extensions with pecl?

There is a PHP extension to which I need to pass a configure option when I install it with a pecl command. I can't find a way to do this. Of course I can install it manually, but I need it to be able to install it with single command - so that it is…
Piavlo
  • 131
  • 2
  • 4
5
votes
2 answers

Amazon Linux pecl_http installed but not providing functions

I've installed PHP's pecl_http extension using the Amazon Linux php54-pecl-http Yum package. php -i shows the http.ini file loaded http.ini has the extension=http.so line in it php -m shows the HTTP module as installed pecl list shows pecl_http…
ceejayoz
  • 32,469
  • 7
  • 81
  • 105
5
votes
2 answers

PECL install/phpize error

This is my PHP setup ################################################################## # setup PHP ################################################################## # we use this to make inline CSS in newsletter yum install php php-tidy php-xml…
Gajus
  • 831
  • 5
  • 15
  • 27
5
votes
1 answer

Problems installing PHP libevent PECL Package

On my Ubuntu 11.04 development machine I have PHP installed (via aptitude). I want to experiment with the libevent PHP extension but I can't seem to get it working: root@alix-laptop:~# pecl install libevent Failed to download pecl/libevent within…
Alix Axel
  • 2,653
  • 6
  • 28
  • 28
5
votes
2 answers

V8js PHP module on Linux - can't find libv8.so

Running into a problem with v8js-0.1.2 (beta) - I'm seeing others have success on the net but regardless of what platform/OS I'm running, I always hit the same problem. I'm currently attempting to build the module, both directly via pecl, and…
mway
  • 151
  • 1
  • 4
5
votes
3 answers

Problems installing Memcache (PECL extension)

I have installed memcached fine, and now I will need to install PECL extension memcache. Im running RedHat x86_64 es5. The installation gives me this: downloading memcache-2.2.6.tgz ... Starting to download memcache-2.2.6.tgz (35,957…
Petrus
  • 115
  • 1
  • 2
  • 5
5
votes
1 answer

Installing a php extension (xdiff) from pecl on Linux

I was getting this error on my php script: Fatal error: Call to undefined function xdiff_file_diff() I realised that I didn't had the xdiff extension installed. When I tried to install it using the install pecl xdiff command, I got this errors…
Wilson Silva
  • 151
  • 1
  • 5
4
votes
1 answer

Change pecl's temp directory? (installation issue)

I am trying to install imagick on a VPS running Centos 5.8. Typically, it's a quick fix, but the hosting provider will not allow (permission is already denied) me to use the typical fix, which is to remount /var/tmp as executable, and then remount…
sofly
  • 159
  • 1
  • 5
1
2 3 4 5 6 7 8