Bug #15389 Updated: slow ldap connect

From: Date: Wed, 06 Feb 2002 12:36:33 +0000
Subject: Bug #15389 Updated: slow ldap connect
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79352@lists.php.net to get a copy of this message
ID: 15389 Updated by: sander@php.net Reported By: martin@kouba.at -Status: Open +Status: Feedback -Bug Type: Performance problem +Bug Type: LDAP related Operating System: w2k advanced server PHP Version: 4.1.1 New Comment: Are you sure this is a problem with PHP and not with your network? Try connecting to the server with another client. (reclassified) Previous Comments: ------------------------------------------------------------------------ [2002-02-05 12:51:25] martin@kouba.at i tried the ldap functions with php 4.0.6 and now with 4.1.1. the ldap queries are super fast, but the connect takes 4 to 5 seconds. first i thought it was the queries but when i removed the queries the script would still take the same time to execute. the queries would only take about 1 second to compute. i already use the ip address of the ldap server for the connect to avoid dns lookups. i understand that any connect procedure takes a while but for the user to wait for 5 seconds is much too long. is there a way to optimize the connect procedure? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15389&edit=1

« previous php.dev (#79352) next »