Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
升级到Yosemite-Apache config-Invalid命令';用户';_Apache_Osx Yosemite - Fatal编程技术网

升级到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