internals:windows:libs:ldap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:ldap [2008/06/29 23:45] – update according to the latest changes pajoye | internals:windows:libs:ldap [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | For PHP suitable sources and up-to-date information see [[https:// | ||
+ | |||
OpenLDAP support in PHP relies on two of the OpenLDAP libraries: | OpenLDAP support in PHP relies on two of the OpenLDAP libraries: | ||
* olber32 | * olber32 | ||
Line 4: | Line 6: | ||
Our (patched) sources contain project files for VC8/9. OpenSSL is yet enabled. | Our (patched) sources contain project files for VC8/9. OpenSSL is yet enabled. | ||
+ | |||
+ | One important change is to keep the default sysconf directory. Open ldap_config.h from the include directory and change the LDAP_SYSCONFDIR definition line to: | ||
+ | |||
+ | #define LDAP_SYSCONFDIR " | ||
But that should not be too hard now that the project files are in places (see the source directory in our pecl2 download pages). | But that should not be too hard now that the project files are in places (see the source directory in our pecl2 download pages). | ||
You can place the include files in openldap\include in php_builds or in the default include in phpbuilds\include (5.2) or in deps\include (5.3+). | You can place the include files in openldap\include in php_builds or in the default include in phpbuilds\include (5.2) or in deps\include (5.3+). | ||
+ | |||
+ | For PHP usages, the following preprocessor option must be set: | ||
+ | |||
+ | /D LDAP_DEPRECATED=1 | ||
+ | |||
+ | TODO: remove deprecated API usage in ext/ldap | ||
For VC9, it is necessary to patch the portable.h on line 1102: | For VC9, it is necessary to patch the portable.h on line 1102: | ||
Line 16: | Line 28: | ||
#endif | #endif | ||
- | For VC5, the following option has to be added to the linker: | + | For VC6, the following option has to be added to the linker: |
/ | / | ||
- | The latest patched sources available in our repository contain the project files for VC6/8/9. | + | The latest patched sources available in our repository contain the project files for VC6/8/9. Only the configurations " |
internals/windows/libs/ldap.1214783114.txt.gz · Last modified: 2017/09/22 13:28 (external edit)