二:查看编译参数:
1、nginx编译参数:
nginx_dir/sbin/nginx -v
2、apache编译参数:
cat apache_dir/build/config.nice
3、php编译参数:
php_dir/bin/php -i |grep configure
4、mysql编译参数:
cat mysql_dir/bin/mysqlbug |grep configure
本文介绍了如何查看四种主要服务器软件(Nginx、Apache、PHP 和 MySQL)的编译参数,这对于理解软件配置和进行故障排查非常有用。
二:查看编译参数:
1、nginx编译参数:
nginx_dir/sbin/nginx -v
2、apache编译参数:
cat apache_dir/build/config.nice
3、php编译参数:
php_dir/bin/php -i |grep configure
4、mysql编译参数:
cat mysql_dir/bin/mysqlbug |grep configure

被折叠的 条评论
为什么被折叠?