|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-02-05 12:51 UTC] martin at kouba dot 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? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 00:00:02 2025 UTC |
<? $start = date("U"); $server = "x.x.x.x"; // ip address of nds-server $ds = ldap_connect($server); $end = date("U"); echo "<br>".($end-$start)." Sekunden<br>"; ?>