您的位置:首页 > 运维架构 > Nginx

[转]查看nginx,apache,mysql,php的编译参数

2010-06-30 20:38 543 查看
有时候nginx,apache,mysql,php编译完了想看看编译参数可以用以下方法
nginx编译参数:
#/usr/local/nginx/sbin/nginx -V
nginx version: nginx/0.6.32
built by gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configure arguments: --user=www --group=www --prefix=/usr/local/nginx/ --with-http_stub_status_module --with-openssl=/usr/local/openssl
apache编译参数:
# cat /usr/local/apache2/build/config.nice
#! /bin/sh
#
# Created by configure
"./configure" /
"--prefix=/usr/local/apache2" /
"--with-included-apr" /
"--enable-so" /
……
"--disable-userdir" /
"$@"
php编译参数:
# /usr/local/php/bin/php -i |grep configure
Configure Command => './configure' ……
mysql编译参数:
# cat "/usr/local/mysql/bin/mysqlbug"|grep configure
# This is set by configure
CONFIGURE_LINE="./configure '……
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: