一直在用apache,今天突然想换成nginx了,发现一直启动不了,于是检查了端口、php环境变量等都没问题,但还是报如下错误:
nginx: [alert] could not open error log file: CreateFile() "logs/error.log" failed (3: The system cannot find the path specified)
2015/01/26 22:07:10 [emerg] 5164#5196: CreateFile() "E:\mywamp\apache2.2\bin/confinx.conf" failed (3: The system cannot find the path specified)
解决方案:
E:\mywamp\apache2.2\bin>E:\mywamp\nginx-1.6.2\nginx.exe -s reload
本文记录了一次从Apache切换到Nginx的过程中遇到的启动失败问题及解决方法。主要错误提示为找不到指定路径,通过调整配置文件路径最终解决了问题。
759

被折叠的 条评论
为什么被折叠?



