Until version 5.4, when PHP was compiled from its source, LDAP extension was hard coded to look for its certificates in c:\openldap\sysconf folder. Since 5.5, this 'harcode' was replace by an environment variable called %SYSCONFDIR%. However i can't make LDAP extension point to the same dir it did before, no matter what i do! :(
In PHP 5.4, ldap_config.h
#define LDAP_SYSCONFDIR "c:\\openldap\\sysconf"
In PHP 5.5, ldap_config.h
#define LDAP_SYSCONFDIR "%SYSCONFDIR%"
Sorry for my bad english. Any clue? Thanks.
Download the latest version of PHP 5.5.
This has been resolved in the PHP 5.5.4 binaries from windows.php.net. The LDAP extension looks for "c:\openldap\sysconf\ldap.conf" as it had done in 5.4.