安装phpLDAPadmin

① 安装和配置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


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部