centos7 phpldapadmin安装部署
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| yum install -y php71w-fpm php71w-opcache php71w-cli php71w-gd php71w-imap php71w-mysqlnd php71w-mbstring php71w-mcrypt php71w-pdo php71w-pecl-apcu php71w-pecl-mongodb php71w-pecl-redis php71w-pgsql php71w-xml php71w-xmlrpc php71w-devel mod_php71w yum install phpldapadmin httpd 修改phpldapadmin.conf vim /etc/httpd/conf.d/phpldapadmin.conf # # Web-based tool for managing LDAP servers # Alias /phpldapadmin /usr/share/phpldapadmin/htdocs Alias /ldapadmin /usr/share/phpldapadmin/htdocs <Directory /usr/share/phpldapadmin/htdocs> <IfModule mod_authz_core.c> # Apache 2.4 Require all granted #Require local </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from all Allow from 172.18.32.31 Allow from 127.0.0.1 Allow from ::1 </IfModule> </Directory> 修改:Require local 为 Require all granted
|
错误排查:
出错
Unrecognized error number: 8192: Function mcrypt_module_open() is deprecated
解决方案:打一个补丁就好了
PhpLdapAdmin-1.2.3_patch_php_7.1.tar.gz
解决方案:打一个补丁就好了
PhpLdapAdmin-1.2.3_patch_php_7.1.ta
参考地址:http://www.jouvinio.net/wiki/index.php/