apache安装

时间:2018-02-17 05:19:10
【文件属性】:

文件名称:apache安装

文件大小:1017B

文件格式:TXT

更新时间:2018-02-17 05:19:10

apache安装

apache服务器安装 1,下载apache-64 2,解压出来 3,运行cmd 找到D:\Installsoftware\apache\apache\httpd-2.2-x64\bin 运行httpd -k start 错误: 1,没有找到文件 更改D:\Installsoftware\apache\apache\httpd-2.2-x64\conf文件夹中的httpd.conf文件 ServerRoot "D:/Installsoftware/apache/apache/httpd-2.2-x64" DocumentRoot "D:/Installsoftware/apache/apache/httpd-2.2-x64/htdocs" 俩参数指向自己的文件路径 2,启动之后,访问http://localhost:8080出现 You don't have permission to access / on this server. 更改D:\Installsoftware\apache\apache\httpd-2.2-x64\conf文件夹中的httpd.conf文件中 Options FollowSymLinks AllowOverride None Order deny,allow Deny from all 改成 Options FollowSymLinks AllowOverride None 3,启动时报 httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.116 for ServerName错误 在#ServerName www.example.com:80 添加 ServerName www.example.com:80


网友评论