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
0
votes
3 answers

send custom HTTP response with PHP

I want to send a custom HTTP response back to an application requesting a GET to a php script. The body is will be in binary format (octet-streams). I'm wondering if there is a simple way to do this? I am looking into the HttpResponse class in PECL…
l3utterfly
  • 2,106
  • 4
  • 32
  • 58
0
votes
1 answer

Class 'HttpResponse' not found in document

I realize this question has been asked before, but the other thread does not seem to have provided the answer. I have installed PEAR and PECL_http extension, but I am still getting this error. Do I need to include a file before using this? Any help…
l3utterfly
  • 2,106
  • 4
  • 32
  • 58
0
votes
2 answers

installing mongodb with pecl

this is what i get: bitnami@ip-10-117-57-211:/bin$ sudo pecl install mongo downloading mongo-1.4.0.tgz ... Starting to download mongo-1.4.0.tgz (138,495 bytes) ..............................done: 138,495 bytes 84 source files, building WARNING:…
Richard Torcato
  • 2,504
  • 25
  • 26
0
votes
1 answer

Connection pooling for RABBITMQ in PHP

I want to use RabbitMQ in my project.It's mainly written in PHP hosted by Apache2 server.To deal with RabbitMQ,I choose PECL extension.And I've read in somewhere something like: "the connection is expensive so we use channel.You can have many…
0
votes
0 answers

Error upload progress bar & codeigniter

I'm implementing upload bar with PECL uploadprogress, codeigniter method (for server side php script) and jQuery (for call to server and calculate percentage and so on) but I have a bit problem when call to startProgress script that run getProgress…
Adrian
  • 21
  • 4
0
votes
1 answer

PHPUnit error for trying to install

Does anyone know why when I try to install PHPUnit onto my mac osx 10.8.2 I get this error? Unknown remote channel: pear.symfony.com Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to download automatically phpunit/PHPUnit…
M dunbavan
  • 1,157
  • 5
  • 22
  • 57
0
votes
1 answer

php cannot load pecl http extension

I have installed pecl_http on a PLESK server (which seems to be successful) but for some reason, the http extension will not load into PHP. var_dump(extension_loaded("http")); gives me bool(false). pecl info pecl_http gives me a lot of info and if…
Morten Hagh
  • 2,055
  • 8
  • 34
  • 66
0
votes
2 answers

rabbitmq with wamp server

Ok so I have seen other questions regarding this but I still havent come right. I need to connect to rabbitmq from php but I am using wamp on my windows machine. I have seen that I need to download a pecl .dll. I have download a few but I still cant…
Jed
  • 929
  • 2
  • 19
  • 32
0
votes
1 answer

How to install pecl-event on FreeBSD?

I've try to install pecl-event on FreeBSD 8.0, but get error: # pecl install event Failed to download pecl/event within preferred state "stable", latest release is version 0.9.1, stability "beta", use "channel://pecl.php.net/event-0.9.1" to…
BArtWell
  • 4,176
  • 10
  • 63
  • 106
0
votes
2 answers

MongoDB upgrade and inconsistent integer storage with PHP

Since upgrading to MongoDB 2.2 and the version 1.3 PECL package for Mongo (not sure which change is relevant), I've noticed that inserts through PHP for fields cast to ints are now inserted as NumberLong in our collections ( {"userid" :…
Karptonite
  • 1,490
  • 2
  • 14
  • 30
0
votes
0 answers

Problems with pecl on ubuntu server

I can`t install nothing with pecl in my Ubuntu 12 server. Here the error: $ sudo pecl install mongo downloading mongo-1.3.2.tgz ... Starting to download mongo-1.3.2.tgz (120,931 bytes) ..........................done: 120,931 bytes 49 source files,…
Lucas Serafim
  • 3,702
  • 6
  • 30
  • 36
0
votes
1 answer

Any simple way to setup php pecl-svn on MAC OS 10.6 using XAMPP?

I am trying to use svn from php and tried this so far without any success :( (trying to install pecl svn extension) sudo /Applications/XAMPP/xamppfiles/bin/pecl install svn I choose autodetect for following: Please provide the prefix of Subversion…
sakhunzai
  • 13,900
  • 23
  • 98
  • 159
0
votes
1 answer

Is it necessary to use a standalone jetty install for using the php pecl solr extension?

I am currently just running the "start.jar" in the "example" folder of the solr folder. While trying to contact solr using the pecl solr extension from PHP, i am getting exceptions in the "php_solr_client.c" file in the extension installation. I am…
sharky
  • 327
  • 4
  • 13
0
votes
1 answer

what is the command to get a package from svn pecl with the trunk url?

i want to get the trunk this package http://svn.php.net/viewvc/pecl/kakasi/trunk/ so i can phpize configre make make install and so on so i tried svn checkout http://svn.php.net/viewvc/pecl/kakasi/trunk but it outputs Redirecting to URL…
user1397417
  • 708
  • 4
  • 11
  • 34
0
votes
3 answers

Disabling a PHP extension the easy way?

I am using an open source library ( http://hybridauth.sourceforge.net ) that does not support the PECL OAuth extension of PHP. If you try to run code with it, it says "Exception: Hybridauth Library not compatible with installed PECL OAuth extension.…
Nathan H
  • 48,033
  • 60
  • 165
  • 247