Error starting apache from terminal after removing MAMP

前端 未结 3 2122
长发绾君心
长发绾君心 2021-02-09 07:42

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:04

    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.

提交回复
热议问题