[php-maint] PHP5 - LDAP

Sten Spans sten at blinkenlights.nl
Mon Aug 6 21:51:16 UTC 2007

On Mon, 6 Aug 2007, Steve Langasek wrote:

> On Mon, Aug 06, 2007 at 02:48:54PM +0200, Sten Spans wrote:
>> I noticed that the php5-ldap package is linked against libldap-2.1.30,
>> despite 2.3.30 being available. We've encountered quite extreme
>> performance problems when using a php linked against the older library.
>> A sample query selecting 60k entries will run for 15-20 minutes (100%
>> cpu), but take only 10-20 seconds (!) when using the 2.3.30 libraries.
>> Any chance the php5-ldap package could be switched to libldap-2.3 ?
> No.  libldap-2.3 is packaged for internal use by openldap only, it is not
> available for use by other packages (and won't be; we won't get a public
> -dev package again until openldap 2.4 when openldap is switched again to use
> GNUTLS in Debian).

That's too bad, but understandable. The extreme performance difference
does require me to create my own packages though.

Sten Spans

"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem

More information about the pkg-php-maint mailing list