当前位置:首页 > 服务器技术 > nginx

nginx错误记录nginxapachenginxphpnginxrewrite

错误1:nginx: [emerg] mkdir() "/var/tmp/nginx/client/" failed (2: No such file or directory)

[root@localhost nginx-1.6.2]# nginx
nginx: [emerg] mkdir() "/var/tmp/nginx/client/" failed (2: No such file or directory)
目录不存在  或权限的问题 下面我们创建一下
[root@localhost nginx-1.6.2]# cd /var/tmp/
[root@localhost tmp]# mkdir -p /var/tmp/nginx/{client,proxy,fastcgi,uwsgi,scgi}
[root@localhost tmp]# nginx
[root@localhost tmp]# ps -ef |grep nginx
root      10711      1  0 17:39 ?        00:00:00 nginx: master process nginx
nginx     10712  10711  0 17:39 ?        00:00:00 nginx: worker process
root      10714   1115  0 17:39 pts/0    00:00:00 grep nginx
[root@localhost tmp]# 

以上就介绍了nginx 错误记录,包括了nginx方面的内容,希望对PHP教程有兴趣的朋友有所帮助。


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!