如何查看apache,php,mysql,nginx,squid的编译参数

查看apache编译参数:

# cat /usr/local/apache2/build/config.nice

查看mysql编译参数:

# cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE

查看php编译参数:

# /usr/local/php/bin/php -i | grep configure

查看nginx编译参数:

# /usr/local/nginx/sbin/nginx -V

查看squid编译参数:

# /usr/local/squid/sbin/squid -v