之前在本地虚拟机用的都是5.1的版本和1.12的nginx,在服务器上尝试一下高版本的6.1 一直报错各种,例如: undeclared (first use in this function) 尝试了一下午,还是解决不了,最后直接把版本降下来就可以了,我这边提供全部附件,按照前面几篇博客安装即可. 链接:https://pan.baidu.com/s/1v4HzRKvYw4y1YCsT_VdOJg…
Nginx在win7,win2008下启动报错:bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) . 原因是Win7下nginx默认80端口被System占用,造成nginx启动报错的解决方案. 在cmd窗口运行如下命令: [plain] C:\Users\Administrator>netstat -…
今天启动window上的nginx总是报错 错误信息是bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) 大概意思是 nginx listen的80后端口被占用 于是百度了下查看端口的命令 运行–cmd C:\>netstat -aon|findstr "80" TCP 127.0.0.1…