如何查看已經安裝的nginx、apache、mysql和php的編譯參數

1、nginx編譯參數:

nginx -V(大寫)
#注意:需保證nginx在環境變量中,或者使用這樣的形式:/user/local/nginx/sbin/nginx -V

2、apache編譯參數

cat your_apache_dir/build/config.nice

3、php編譯參數:

php -i |grep configure
#或者 /user/local/php/bin/php -i |grep configure

4、mysql編譯參數:

cat /user/local/mysql/bin/mysqlbug |grep configure

原文:https://www.cnblogs.com/joshua317/p/6753244.html


分享到:


相關文章: