CentOS下查看nginx和php的編譯參數


在已經編譯安裝好的nginx和php的server上是可以查看之前編譯時候的參數的,方法如下。

1、查看nginx的編譯參數

# nginx -V
nginx version: nginx/1.9.4
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) 
configure arguments: --prefix=/usr/local/nginx --with-http_realip_module

2、查看php的編譯參數

# /usr/local/php/bin/php -i |grep configure
Configure Command =>  './configure'  '--prefix=/usr/local/php' '--with-mysql' '--with-freetype-dir=/usr/lib64/libfreetype.so' '--with-config-file-path=/etc' '--enable-ftp' '--enable-inline-optimization' '--enable-mbstring' '--enable-xml' '--with-gd' '--with-gettext' '--with-regex=system' '--with-zlib-dir=/usr/lib64' '--enable-fpm' '--with-jpeg-dir' '--with-fpm-user=root' '--with-mcrypt'


免責聲明!

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



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