当前位置: > Linux教程 > Linux学习 >

获取安装后Apache、MySQL、Nginx、PHP编译时参数

时间:2016-05-13 20:39来源:linux.it.net.cn 作者:IT网
# 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"\

http://www.it.net.cn

"--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

(责任编辑:IT)
------分隔线----------------------------