# 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
时间: 2024-10-14 16:45:37