Windows could not start the Apache2 on Local Computer - problem

后端 未结 20 2261
-上瘾入骨i
-上瘾入骨i 2020-12-12 11:27

During the installation of Apache2 I got the following message into cmd window:

Installing the Apache2.2 service The Apache2.2 service is successful

20条回答
  •  青春惊慌失措
    2020-12-12 12:18

    Always double check httpd.conf to see if document root is correctly pointing to an existing folder

    #if you have c:\your-main-folder\www\
    DocumentRoot "c:/your-main-folder/www/" 
    
    #if you have c:\your-main-folder\www\sub-folder\
    DocumentRoot "c:/your-main-folder/www/sub-folder/" 
    

    DocumentRoot points to a folder that must exist in your drive.

提交回复
热议问题