一直在用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