当前位置: > Linux服务器 > nginx >

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

时间:2016-05-13 20:31来源: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"\

"--enable-rewrite"\

"--enable-so"\

"--with-mpm=prefork"\
http://linux.it.net.cn


扩展:

查看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)
------分隔线----------------------------
栏目列表
推荐内容