博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
查看Nginx、PHP、Apache和MySQL的编译参数
阅读量:6999 次
发布时间:2019-06-27

本文共 1343 字,大约阅读时间需要 4 分钟。

1.查看Nginx编译参数

[root@portal finance]# your_nginx_dir/sbin/nginx -V nginx version: nginx/1.6.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx-1.6.0 --with-http_ssl_module

2.查看PHP编译参数

[root@portal finance]# your_php_dir/bin/php -i | grep configure Configure Command => './configure' '--prefix=/usr/local/php-7.1.0' '--enable-fpm' '--enable-inline-optimization' '--with-config-file-path=/usr/local/php-7.1.0/lib' '--enable-mbstring' '--with-curl' '--with-gd' '--with-jpeg-dir' '--with-zlib' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-pcntl' '--enable-mbregex' '--enable-zip' '--with-pcre-regex' '--with-mysql' '--with-mysqli' '--with-openssl'

 3.查看Apache编译参数

[root@portal finance]# cat your_apache_dir/build/config.nice

4.查看MySQL编译参数

[root@portal finance]# cat your_mysql_dir/bin/mysqlbug | grep configure # This is set by configure CONFIGURE_LINE="./configure '–prefix=/usr/local/mysql4′ '–sysconfdir=/etc' '–enable-assembler' '–without-debug' '–with-client-ldflags=-all-static' '–with-mysqld-ldflags=-all-static' '–localstatedir=/www/mysql' '–with-big-tables' '–with-low-memory' '–with-extra-charsets=all' '–enable-thread-safe-client' '–with-pthread' '–with-unix-socket-path=/tmp/mysql.sock'"

 

转载于:https://www.cnblogs.com/yueyun00/p/10212721.html

你可能感兴趣的文章
visual studio 编辑窗口 设置固定选项卡 使窗口选项卡多行显示
查看>>
处在LV1太长了··
查看>>
软件工程综合实践阶段小结
查看>>
人工神经网络简介
查看>>
改善我们的神经网络
查看>>
文件操作的其他模式
查看>>
链表与顺序表的对比
查看>>
windows phone 8 新增功能:从一个应用程序启动另一个程序(file association 和 Protocol association两种方式)...
查看>>
Angularjs总结(七) 路由及请求服务等
查看>>
Bindservice开启服务特点
查看>>
centos session
查看>>
Google Code Jam 2014 资格赛:Problem D. Deceitful War
查看>>
上传文件
查看>>
串口波形分析
查看>>
html5-css列表和表格
查看>>
【Web自动化测试——代码篇十二】自动化测试模型——数据驱动测试和关键字驱动测试...
查看>>
.net判断System.Data.DataRow中是否包含某列
查看>>
Design T-Shirt 排序
查看>>
javaweb项目中关于配置文件web.xml的解析
查看>>
循环语句
查看>>