LNMP-查看安装编译时参数

查看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/JohnABC/p/5776096.html