Configure LDAP certificate dir in PHP 5.5.x (Windows) -


until version 5.4, when php compiled source, ldap extension hard coded certificates in c:\openldap\sysconf folder. since 5.5, 'harcode' replace environment variable called %sysconfdir%. can't make ldap extension point same dir did before, no matter 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 bad english. clue? thanks.

download latest version of php 5.5.

this has been resolved in php 5.5.4 binaries windows.php.net. ldap extension looks "c:\openldap\sysconf\ldap.conf" had done in 5.4.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -