1、nginx
/usr/local/nginx/sbin/nginx –V
2、apache
cat /usr/local/apache2/build/config.nice
3、mysql
cat /usr/local/mysql/bin/mysqlbug | grep configure
4、php
php -i | grep configure