查看mysql编译参数: 

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

查看apache编译参数:  

cat $apachehome$/build/config.nice   

查看php编译参数:  

$PHP$/bin/php -i | grep configure  ./php -r "phpinfo();" | grep configure   

查看nginx编译参数:   

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