查看已安装的 apache、nginx、php、mysql 编译时参数
新接手一台机器,不太确定编译时都启用了哪些选项,特此整理一下:
查看 nginx 编译参数:/usr/local/nginx/sbin/nginx -V
查看 apache 编译参数:cat /usr/locla/apache2/build/config.nice
查看 mysql 编译参数:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
查看 php 编译参数:/usr/local/php/bin/php -i | grep configure
页:
[1]