search

Home  >  Q&A  >  body text

为什么呈现“APACHE.EXE: cannot determine local host name.”?

我又来了我又来了2838 days ago1255

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 00:30:58

    Why does "APACHE.EXE: cannot determine local host name." appear? -PHP Chinese website Q&A-Why does "APACHE.EXE: cannot determine local host name." appear? -PHP Chinese website Q&A

    Let’s take a look and learn.

    reply
    0
  • 怪我咯

    怪我咯2017-02-23 14:01:12

    由于Windows版本的Apache默认情况下不指定ServerName,所以运行时会出错。 

      解决的措施是修正Apache安装目录下的conf目录下的httpd.conf: 
    - 搜索ServerName 
    - 往掉前面的#号 
    - 把ServerName后面的值换成你自己的设置,如localhost之类的 
    - 保留,重新启动Apache 

    reply
    0
  • Cancelreply