全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

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

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

[复制链接]
 楼主| 发表于 2011-2-6 05:31:14 | 显示全部楼层
QQ截图未命名.jpg (48.3 KB, 下载次数: 10)

就这个

./configure: error: invalid option "–user=www"
发表于 2011-2-6 05:31:52 | 显示全部楼层
你的-打错了
是--
把输入法关了
你打的是全角的-号
 楼主| 发表于 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
发表于 2011-2-6 05:34:50 | 显示全部楼层
直接粘贴我的
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
 楼主| 发表于 2011-2-6 05:35:04 | 显示全部楼层
我在这里找的。。
http://www.acyoo.com/?p=608

经常拿他升级,就这次挂了。。
 楼主| 发表于 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



汗死,这个好使。。。蛋疼啊,,原来是两个--
发表于 2011-2-6 05:36:44 | 显示全部楼层
bolg上有时候发的代码会被替换成全角所以可能就会这样子
 楼主| 发表于 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了,升级完成,还是超版厉害,多谢了
发表于 2011-2-6 05:37:48 | 显示全部楼层
客气~~
话说还是你打命令不仔细 =.=!!!
 楼主| 发表于 2011-2-6 05:39:03 | 显示全部楼层
http://www.deepvps.com/lnmp-ngin ... stable-version.html
刚刚发现了,确实会被替换成全角的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-6 22:05 , Processed in 0.079067 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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