查看mysql,apache,php,nginx的编译安装参数
查看mysql编译参数:
cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
查看apache编译参数:
cat $apachehome$/build/config.nice
查看php编译参数:
$PHP$/bin/php -i | grep configure
查看nginx的编译参数
/path/nginx/sbin/nginx -V
----------------------------------------------------------------------
或许N久以后,你需要查看当初在linux下面编译mysql5.1,apache2.2,php5,nginx的安装参数,具体的查看如下:
我的linux= centos5.2 mysql=5.1.26rc apache=2.2.6 php=5.2 nginx>0.7 安装路径path=/usr/local/
apache的查看:
/path/apache/build/config.nice
$more config.nice
php的查看:
/path/php/bin/php -i | grep configure
nginx的查看:
/path/nginx/sbin/nginx -V
mysql的查看:
export VISUAL=vi
grep "configure" /usr/local/mysql/bin/mysqlbug
或者/usr/local/mysql/bin/mysqlbug
cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
查看apache编译参数:
cat $apachehome$/build/config.nice
查看php编译参数:
$PHP$/bin/php -i | grep configure
查看nginx的编译参数
/path/nginx/sbin/nginx -V
----------------------------------------------------------------------
或许N久以后,你需要查看当初在linux下面编译mysql5.1,apache2.2,php5,nginx的安装参数,具体的查看如下:
我的linux= centos5.2 mysql=5.1.26rc apache=2.2.6 php=5.2 nginx>0.7 安装路径path=/usr/local/
apache的查看:
/path/apache/build/config.nice
$more config.nice
php的查看:
/path/php/bin/php -i | grep configure
nginx的查看:
/path/nginx/sbin/nginx -V
mysql的查看:
export VISUAL=vi
grep "configure" /usr/local/mysql/bin/mysqlbug
或者/usr/local/mysql/bin/mysqlbug