Could not reliably determine the server's fully qualified domain name

前端 未结 13 724
悲&欢浪女
悲&欢浪女 2020-11-29 19:09

I have just installed Apache 2.2.17, and I am using it first time.

Now when I try to start the server using the command service httpd start it gives me

13条回答
  •  無奈伤痛
    2020-11-29 19:57

    If you are using windows there is something different sort of situation

    First open c:/apache24/conf/httpd.conf. The Apache folder is enough not specifically above path

    After that you have to configure httpd.conf file.

    Just after few lines there is pattern like:

    #Listen _____________:80
    Listen 80
    

    Here You have to change for the localhost.

    You have to enter ipv4 address for that you can open localhost.

    Refer this video link and after that just bit more.

    Change your environment variables:

    Image for Environment USER Variables in System setting

    In which you have to enter path:

    c:apache24/bin
    

    and
    same in the SYSTEM variables

    Image is for system variables path

    If any query feel free to ask.

提交回复
热议问题