PHP安装LDAP扩展

安装LDAP扩展

1
2
3
4
5
6
7
8
9
10
11
# cd soft/php/php-7.3.11
# cd ext/ldap/
# phpize
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
# ./configure --with-php-config=/data/server/php7/bin/php-config --with-ldap=/usr/local/openldap
# make
# make install
Installing shared extensions: /data/server/php7/lib/php/extensions/no-debug-non-zts-20180731/

配置LDAP扩展

1
2
3
4
# cd /data/server/php7/etc/
# vim php.ini
# killapp php-fpm
# php-fpm

添加扩展:

1
extension = ldap.so

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2020 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :