1、查看php的编译参数
/usr/local/php/bin/php-config --configure-options
或者
/usr/local/php/bin/php -r "phpinfo();"|grep -i configure
或者
/usr/local/php/bin/php -i | grep configure
2、查看mysql的编译参数
cat /usr/local/mysql/bin/mysqlbug|grep configure
3、查看Nginx的编译参数
/usr/local/nginx/sbin/nginx -V
4、查看apache的编译参数
cat /usr/local/apache/build/config.nice