linux下查看nginx,apache,mysql,php编译命令

1,查看nginx编译参数:
 

复制代码 代码示例:

/usr/local/nginx/sbin/nginx -V

2,查看apache编译参数:
 

复制代码 代码示例:

cat /usr/local/apache/build/config.nice

3,查看mysql编译参数:
 

复制代码 代码示例:

cat /usr/local/mysql/bin/mysqlbug | grep -i configure_line

4,查看php编译参数:
 

复制代码 代码示例:

/usr/local/php/bin/php -i | grep configure
或 /usr/local/php/bin/php-config
或 /usr/local/php/bin/php -r "phpinfo();"|grep -i configure


你可能感兴趣的:(linux,mysql,local)