需求 You will need to get and compile LDAP client libraries from either the University of Michigan ldap-3.3 package or the Netscape Directory SDK 3.0 to compile PHP with LDAP support. 安装 LDAP support in PHP is not enabled by default. You will need to use the --with-ldap configuration option when compiling PHP to enable LDAP support. 运行时配置 这些函数的行为受到全局配置文件 php.ini 的影响。 表格 1. LDAP configuration optionsName Default Changeable ldap.max_links "-1" PHP_INI_SYSTEM For further details and definition of the PHP_INI_* constants see ini_set(). “LDAP support in PHP is not enabled by default.” 不用多说了吧?
You will need to get and compile LDAP client libraries from either the University of Michigan ldap-3.3 package or the Netscape Directory SDK 3.0 to compile PHP with LDAP support. 安装
LDAP support in PHP is not enabled by default. You will need to use the --with-ldap configuration option when compiling PHP to enable LDAP support. 运行时配置
这些函数的行为受到全局配置文件 php.ini 的影响。
表格 1. LDAP configuration optionsName Default Changeable
ldap.max_links "-1" PHP_INI_SYSTEM For further details and definition of the PHP_INI_* constants see ini_set(). “LDAP support in PHP is not enabled by default.”
不用多说了吧?
我刚接触PHP,可以再讲得仔细些吗?您所指的需要外部库是否也意为在php.ini文件中将extension=php_ldap.dll加载进去?
我这样做了,可出现错误提示(如上)可以怎么解决呢?
php.ini
extension_dir=c:/php4/extensions
extension=php_ladp.dll2、
拷贝c:\php4\dlls下的libeay32.dll 和 ssleay32.dll 到c;\winnt\system32当然你不要忘记启动ladp服务