nginx启动报错

./objs/nginx -c ./conf/myconf.conf

nginx: [alert] could not open error log file: open() "/usr/local/nginx/logs/error.log" failed (2: No such file or directory)

2022/08/05 16:02:38 [emerg] 853516#0: open() "/usr/local/nginx/./conf/myconf.conf" failed (2: No such file or directory)

修改启动命令如下:

./nginx -p ./ -c ./conf/myconf.conf


spawn-fcgi报错

spawn-fcgi:child exited with: 127

招不到libfcgi.so库,将其加入到环境变量

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容