百度了好久没能解决,最后在一家国外网站找到办法
报错详情
AH00526: Syntax error on line 224 of /private/etc/apache2/httpd.conf:
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
当权限设置正确后依然报错

需要把另外一行注释去掉

若出现

搜索ServerName,找到这一行 ,去掉注释或者直接新增一行

开启完成。
网友评论