本站首页    管理页面    写新日志    退出


«July 2025»
12345
6789101112
13141516171819
20212223242526
2728293031


公告

戒除浮躁,读好书,交益友


我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:邢红瑞的blog
日志总数:523
评论数量:1142
留言数量:0
访问次数:9673716
建立时间:2004年12月20日




[linux]如何调试nginx
原创空间,  网上资源,  软件技术,  电脑与网络

邢红瑞 发表于 2011/11/1 17:36:59

自己添加的nginx模块难免会出现错误,所以调试就势在必行。 直接运行gdb nginx 会出现 No symbol table info available。 编译的时候 加入CFLAGS="-g -O0"  ./configure --prefix=/usr/local/server/nginx     --with-cc-opt="-I /usr/include/pcre -I /usr/include/openssl" --with-debug    --with-http_stub_status_module       --with-http_ssl_module --with-http_realip_module --with-http_ssl_module --with-http_perl_module --with-http_stub_status_module 然后 make make install


阅读全文(17657) | 回复(-2) | 编辑 | 精华
 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.875 second(s), page refreshed 144750181 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号