获取安装后Apache、MySQL、Nginx、PHP编译时参数
# 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
学习时的痛苦是暂时的 未学到的痛苦是终生的