歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 獲取安裝後Apache、MySQL、Nginx、PHP編譯時參數

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

日期:2017/2/27 15:59:48   编辑:Linux教程
# 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
Copyright © Linux教程網 All Rights Reserved