何查看已经安装的nginx、apache、mysql和php的编译参数

如何查看已经安装的nginx、apache、mysql和php的编译参数
1、nginx编译参数:

nginx -V(大写)
#注意:需保证nginx在环境变量中,或者使用这样的形式:/user/local/nginx/sbin/nginx -V
2、apache编译参数

cat your_apache_dir/build/config.nice
3、php编译参数:

php -i |grep configure
#或者 /user/local/php/bin/php -i |grep configure
4、mysql编译参数:

cat /user/local/mysql/bin/mysqlbug |grep configure

posted @ 2018-03-18 19:30  老虎逛大街  阅读(142)  评论(0编辑  收藏  举报
levels of contents