Error starting apache from terminal after removing MAMP

前端 未结 3 1068
庸人自扰
庸人自扰 2021-02-09 08:01

I removed MAMP recently.

When I try to start apache from Terminal using:

sudo apachectl -k restart

I am getting the message

<         


        
3条回答
  •  走了就别回头了
    2021-02-09 08:19

    You probably need to go to apache config file (something like etc/apache2/apache2.conf) and set it an existing document root directory. That is usually done with DocumentRoot directive in this file, or one of the included virtual host config definitions.

提交回复
热议问题