如何查看编译安装的lnmp环境各自的配置参数

安装好后如何查看mysql/apache/nginx/php安装参数   
查看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

原文地址:https://www.cnblogs.com/patf/p/5805838.html