nginx编译安装
本文介绍了nginx编译安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
第一次编译安装nginx,编译的参数是: 问题是现在启动nginx,为什么多了一个" /",空格和斜杠。
./configure --prefix=/usr/local/nginx/ --user=www --group=www --with-http_ssl_module --with
-select_module --with-poll_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module
解决方案
重新编译nginx。
./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_ssl_module --with
-select_module --with-poll_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module
你再试试,我把prefix的nginx后的斜线去掉了
这篇关于nginx编译安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文