獲取安裝後Apache、MySQL、Nginx、PHP編譯時引數

kumu_linux發表於2012-10-08

# cat /usr/local/apache2/build/config.nice      //獲取Apache編譯時的引數

#!/bin/sh

#

#Created by configure

 

"./configure"\

"--enable-modules=all"\

"--enable-mods-shared=all"\

"--enable-charset-lite"\

"--enable-unique-id"\

"--enable-usertrack"\

"--disable-version"\

"--enable-http"\

"--enable-info"\

"--enable-cgi"\

"--enable-vhost-alias"\

"--enable-rewrite"\

"--enable-so"\

"--with-mpm=prefork"\


擴充套件:

檢視nginx編譯引數: /usr/local/nginx/sbin/nginx -V

檢視apache編譯引數:cat  /usr/local/apache2/build/config.nice

檢視mysql編譯引數: cat  /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE

檢視php編譯引數:    /usr/local/php/bin/php -i | grep configure

相關文章