如何查看已經安裝的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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM