安装phpLDAPadmin

本文档详细介绍了如何在Linux环境中安装和配置phpLDAPadmin,包括安装httpd和php,调整配置文件以允许远程访问,设置DN登录,并提供了解决权限错误的提示。最后,给出了使用DN登录 LDAP 的步骤。
摘要由CSDN通过智能技术生成

① 安装和配置httpd

 yum -y install httpd

 rm -f /etc/httpd/conf.d/welcome.conf

vim /etc/httpd/conf/httpd.conf         //修改下面几行内容

ServerName www.example.com:80                               //第96行

AllowOverride All                                           //第151行

DirectoryIndex index.html index.cgi index.php               //第164行

# add follows to the end                                    //添加这几行

# server's response header

ServerTokens Prod

# keepalive is ON

KeepAlive On

 

 systemctl start httpd

 systemctl enable httpd

Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.

 vim /var/www/html/index.html

this is test page for httpd!!!

访问http://10.5.10.141/

 

② 安装php

 

 yum -y install php php-mbstring php-pear

 vim /etc/php.ini

date.t

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值