Home > php教程 > php手册 > 为什么出现“APACHE.EXE:cannotdetermine

为什么出现“APACHE.EXE:cannotdetermine

WBOY
Release: 2016-06-13 09:54:24
Original
996 people have browsed it

由于Windows版本的Apache默认情况下不指定ServerName,所以运行时会出错。
解决的办法是修改Apache安装目录下的conf目录下的httpd.conf:
- 搜索ServerName
- 去掉前面的#号
- 把ServerName后面的值换成你自己的设置,如localhost之类的
- 保存,重新启动Apache

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template