Notes for people running PHP 4 with Apache 2.2 on Win2k3.
The Apache Service needs to be running under the local administrators account in order for the ldap_connect to return a result. As apposed to the Domain Administrators account as may happen on servers in an Active Directory Domain.
It will 'appear' to work ok but will return no results otherwise.
so use (server name)\administrator for the username in the service logon properties.
Tod