2014-10-29 33 views
3

我得到這個,當我升級到優勝美地:升級到優勝美地 - Apache的配置 - 無效的命令 '用戶'

$ apachectl configtest 
AH00526: Syntax error on line 102 of /private/etc/apache2/httpd.conf: 
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration 

和行102:

User _www 

有什麼建議?

+0

原來我的conf文件得到轟出(又來了!)。 This help:http://stackoverflow.com/questions/26454160/get-localhost-running-on-mac-os-x-yosmite?rq=1 – Snowcrash 2014-11-07 21:12:48

回答

1

添加以下在Apache的httpd.conf(默認路徑:/private/etc/apache2/httpd.conf)線

LoadModule unixd_module libexec/apache2/mod_unixd.so 
相關問題