pecl

PHP: Use Pecl/Pear, or build my own systems?

When building some of my PHP apps, a lot of the functionality could be coded using PEAR/PECL modules, however, the fact that some people using it may not have the access to install things, It poses a puzzler for me. Should I forsake some users to use PEAR/PECL for functionality, where these will allow me to have a system coded up quicke...

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 requests in PHP. I'd like to avoid consecutive requests as: a set of requests will take...

PHP Inclued for Windows?

Is there a .dll version of the inclued extension for PHP? The manual's link for Inclued on PECL4WIN doesn't help. I don't have a compiler to build my own DLL. NOTE: The spelling "inclued" is correct! Edit: I don't have a compiler, but do know someone with one... that's really a last resort though. ...

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 computer. On another post, I read, for instance, that you need to have Microsoft Visual Studio...

Any good documentation/tutorials for PHP's Mailparse pecl extension

I'm looking for guidance on how to use PHP's Mailparse pecl extension. The documentation on the PHP website isn't very helpful. Does anyone have experience with this and care to share a few pointers? ...

Adding functions to PHP core

I have several functions that I wrote and I use regularly on my servers, is there a way I can add them to the core so I don't have to include them from external files? I am running PHP5 ...

geoip + pecl + 64 bits box

Has anyone tried to install geoip over pecl on a 64bits box? I can install geoip just fine using these commands on my 32bits fedora box. I can't on the 64bits version. Any ideas why? yum install make gcc cpp gcc-c++ glibc glibc-headers php-pear php- devel geoip geoip-devel pecl install geoip => on the 64bits version it breaks here wi...

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 pecl install APC $ sudo pecl install oauth However, attempting to install memcache...

PECL install fails

Hey! I have browsed every Google result, read all the forum posts about this error, but I cannot solve it. When using PECL install for anything, I always end up getting this error: checking whether the C compiler works... configure: error: cannot run C compiled programs. Everything else succeeds up to that point them bam! I'm using...

Building PECL extension on windows

I want to build an old version of APC on windows. They say (check the link) A DLL for this PECL extension is currently unavailable. See also the building on Windows section. but the guides referred are not available. Can you please suggest me a How-to? ...

Installing PDO_MYSQL on PHP 5.1.6 using PECL OS: UBUNTU

I'm having real problems getting PDO_MYSQL working. I started by just trying to install the PDO_MYSQL driver via PECL, however when this didnt work I looked round to see if there where any issues reported. It seems that there may be a conflict between the embedded version of PDO and PDO_MYSQL. To that end i decided to reinstall all it'...

Can I add extensions to PHP on windows that are not DLL files?

I've asked this somewhere else, but the people there don't seem to understand what I am talking about. When I go to the PECL website, all extensions found there are inside TGZ files. Which is not a problem, any modern archiving program can open it. Inside is always a .tar file and inside that are the source files. So, what do I do with...

How to create [youtube]-Tag for PECL bbcode extension?

I use the PECL bbcode extension for parsing BBCode-Tags. Can anybody show me a way of replacing the text between the BBCode tags instead of surrounding it with HTML tags? I want to build a [youtube] Tag: [youtube]w0ffwDYo00Q[/youtube] My configuration for this tag looks like this: $tags = array( 'youtube' => array( 'type...

pecl memcached on windows

I'm using Windows XP SP3 and I need to install libmemcached (NOT MEMCACHE), the php class, through PECL. However, every time I try to it tells me that it can't find memcached.dsp. Is there a way to install libmemcached on windows through PECL? ...

What are differences between PECL and PEAR?

I can see that GD library is for images. But I can't see differences between PECL and PEAR. Both have authentication. What are the main differences between two? Why don't they combine them? ...

pecl:command not found.

I'm trying to run the following command in terminal on my macbook pro cd /tmp; pecl download memcached but im getting pecl:command not found. after a days googling I cant find out whats up. Does anyone have a solution? ...

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 extenwion does like parsing headers and so forth. Everywhere I read (including the PHP site) is that the Windows binary for pecl_htt...

What's the Difference Between Extension and zend_extension in php.ini?

When I installed Xdebug through pecl, it added the following line to my php.ini file. extension="xdebug.so" and everything I used worked. Until today. Today I was having trouble setting up Xdebug for interactive debugging. I couldn't get anythign working until I changed the above to zend_extension="/usr/local/lib/php/extensions/xd...

Installing pecl_http in xubuntu.

Hi, As per title, I am simply trying to install pecl_http extension for php in ubuntu. So I did what makes most sense: andreas@earl ~ $ sudo pecl install pecl_http downloading pecl_http-1.6.6.tgz ... Starting to download pecl_http-1.6.6.tgz (173,645 bytes) .....................................done: 173,645 bytes 71 source files, buil...

APC vs pecl uploadprogress

In the Status Report page in drupal, i usually find this message (on fresh installation): Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC. But i never understood why its preferred the PECL ...