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

Published on 2015 - 10 - 05

/usr/local为nginx apache mysql php的安装目录

1、查看nginx编译参数:

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

2、查看apache编译参数:

cat /usr/local/apache/build/config.nice

3、查看php编译参数:

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

4、查看mysql编译参数:

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