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

注册 Vultr VPS 送你10美金 免费玩4个月

/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

注册 Vultr VPS 送你10美金 免费玩4个月