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