The behaviour of these functions is affected by settings in php.ini.
| Name | Default | Changeable | Changelog | 
|---|---|---|---|
| ldap.max_links | "-1" | PHP_INI_SYSTEM | 
Here's a short explanation of the configuration directives.
ldap.max_links
     integer
    The maximum number of LDAP connections per process.