Xampp不会启动Apache

时间:2018-04-12 06:25:45

标签: php apache xampp ip

尝试启动xampp_start时出现此错误:

  

C语言第127行的语法错误:/xampp/apache/conf/extra/httpd-xampp.conf   :   指定的IP地址无效

这是我的代码:

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
        Allow from ::1 127.0.0.0/8 \
     Allow from ::localhost \
        fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
        fe80::/10 169.254.0.0/16 \

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

1 个答案:

答案 0 :(得分:-1)

删除apache文件夹,然后重新下载。现在工作完美!:)