全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: 火雪心
打印 上一主题 下一主题

[nginx] 编译的时候出错,求助!!!

[复制链接]
11#
 楼主| 发表于 2011-2-6 05:31:14 | 只看该作者
QQ截图未命名.jpg (48.3 KB, 下载次数: 10)

就这个

./configure: error: invalid option "–user=www"
12#
发表于 2011-2-6 05:31:52 | 只看该作者
你的-打错了
是--
把输入法关了
你打的是全角的-号
13#
 楼主| 发表于 2011-2-6 05:33:29 | 只看该作者
我测试了这几种- 都是一样的提示
./configure -user=www -group=www -prefix=/usr/local/nginx -with-http_stub_status_module -with-http_ssl_module

./configure - user=www - group=www - prefix=/usr/local/nginx - with- http_stub_status_module - with- http_ssl_module
14#
发表于 2011-2-6 05:34:50 | 只看该作者
直接粘贴我的
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
15#
 楼主| 发表于 2011-2-6 05:35:04 | 只看该作者
我在这里找的。。
http://www.acyoo.com/?p=608

经常拿他升级,就这次挂了。。
16#
 楼主| 发表于 2011-2-6 05:35:29 | 只看该作者
原帖由 zyypp 于 2011-2-6 05:34 发表
直接粘贴我的
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module



汗死,这个好使。。。蛋疼啊,,原来是两个--
17#
发表于 2011-2-6 05:36:44 | 只看该作者
bolg上有时候发的代码会被替换成全角所以可能就会这样子
18#
 楼主| 发表于 2011-2-6 05:37:30 | 只看该作者
=========================================================================
Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Nginx program is reloding!
Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm  done
Starting php_fpm  done



OK了,升级完成,还是超版厉害,多谢了
19#
发表于 2011-2-6 05:37:48 | 只看该作者
客气~~
话说还是你打命令不仔细 =.=!!!
20#
 楼主| 发表于 2011-2-6 05:39:03 | 只看该作者
http://www.deepvps.com/lnmp-ngin ... stable-version.html
刚刚发现了,确实会被替换成全角的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-21 09:59 , Processed in 0.091110 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表