升级到Yosemite-Apache config-Invalid命令';用户';
当我升级到优胜美地时,我得到了以下信息:升级到Yosemite-Apache config-Invalid命令';用户';,apache,osx-yosemite,Apache,Osx Yosemite,当我升级到优胜美地时,我得到了以下信息: $ 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 有什么建议吗?在ap
$ 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
有什么建议吗?在apache httpd.conf(默认路径:/private/etc/apache2/httpd.conf)中添加以下行
原来我的conf文件又被炸了。这有助于:
LoadModule unixd_module libexec/apache2/mod_unixd.so