linux下查看nginx,apache,mysql,php的编译参数
有时候nginx,apache,mysql,php编译完了想看看编译参数可以用以下方法
nginx编译参数:
#/usr/local/nginx/sbin/nginx -V
nginx version: nginx/0.6.32
built by gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
configure arguments: --user=www --group=www --prefix=/usr/local/nginx/ --with-http_stub_status_module --with-openssl=/usr/local/openssl
apache编译参数:
# cat /usr/local/apache2/build/config.nice
#! /bin/sh
#
# Created by configure
"./configure" /
"--prefix=/usr/local/apache2" /
"--with-included-apr" /
"--enable-so" /
"--enable-deflate=shared" /
"--enable-expires=shared" /
"--enable-rewrite=shared" /
"--enable-static-support" /
"--disable-userdir" /
"$@"
php编译参数:
# /usr/local/php/bin/php -i |grep configure
Configure Command => './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-config-file-path=/usr/local/php/etc' '--with-mysql=/usr/local/mysql' '--with-libxml-dir=/usr/local/libxml2/bin' '--with-gd=/usr/local/gd2' '--with-jpeg-dir' '--with-png-dir' '--with-bz2' '--with-xmlrpc' '--with-freetype-dir' '--with-zlib-dir'
mysql编译参数:
# cat "/usr/local/mysql/bin/mysqlbug"|grep configure
# This is set by configure
CONFIGURE_LINE="./configure '--prefix=/usr/local/mysql' '--localstatedir=/var/lib/mysql' '--with-comment=Source' '--with-server-suffix=-H863' '--with-mysqld-user=mysql' '--without-debug' '--with-big-tables' '--with-charset=gbk' '--with-collation=gbk_chinese_ci' '--with-extra-charsets=all' '--with-pthread' '--enable-static' '--enable-thread-safe-client' '--with-client-ldflags=-all-static' '--with-mysqld-ldflags=-all-static' '--enable-assembler' '--without-isam' '--without-innodb' '--without-ndb-debug'"
转载于:https://blog.51cto.com/kiddymeet/710550
linux下查看nginx,apache,mysql,php的编译参数相关推荐
- Linux下查看nginx apache mysql php的编译参数
由于工作的需要,有时候需要在一台不是你参与编译的环境调试环境,这就需要知道nginx,apache,mysql,php的编译参数,以下小方法能快速让你了解默认的服务器里的编译参数 快速查看服务器软件的 ...
- linux安装版本信息,Linux下查看Nginx安装目录、版本号信息?
Linux环境下,怎么确定Nginx是以那个config文件启动的? 输入命令行: ps -ef | grep nginx 摁回车,将出现如下图片: master process 后面的就是 ngi ...
- linux nginx在哪个目录下,Linux下查看Nginx安装目录、版本号信息?
Linux环境下,怎么确定Nginx是以那个config文件启动的? 输入命令行: ps -ef | grep nginx 摁回车,将出现如下图片: master process 后面的就是 ngi ...
- Linux下查看Nginx,tomcat等的并发连接数和连接状态
1.查看Web服务器(Nginx Apache)的并发请求数及其TCP连接状态: netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print ...
- [转] linux下查看nginx,apache,mysql,php的编译参数
转载自: http://blog.c1gstudio.com/archives/631 转自linuxtone.org 哈密瓜 http://bbs.linuxtone.org/thread-2776 ...
- linux下的nginx+php+mysql
安装nginx+mysql+php需要的安装包: 1.mysql-5.0.56.tar.gz 2.php-5.2.17.tar.bz2 3.nginx-1.0.5.tar.gz 4.libpng-1. ...
- linux查找nginx目录,Linux下查看nginx安装目录
Effective C++ -----条款53:不要轻忽编译期的警告 严肃对待编译器发出的警告信息.努力在你的编译器的最高(最严苛)警告级别下争取"无任何警告"的荣誉. 不要过度依 ...
- linux 下查看nginx 版本号
v 显示 nginx 的版本. -V 显示 nginx 的版本,编译器版本和配置参数. nginx -v 或nginx -V
- nginx apache mysql php 常用编译参数
nginx参考编译参数: --prefix=/home/admin/nginx mysql参考编译参数: ./configure \ --prefix=/home/admin/mysql \ --sy ...
最新文章
- javascript案例_如何在JavaScript中使用增强现实-一个案例研究
- 迁移学习:如何使用TensorFlow对图像进行分类
- 来个邪恶假说,假如有人把支付宝所有存储服务器炸了,我们在里边的钱是不是都丢了?
- 调用枚举接口重写方法提示找不到符号_看看人家那后端API接口写得,那叫一个巴适~...
- 获取mac地址方法之一 GetAdaptersInfo()
- python提示list index out of range_为什么python报错说“list index out of range”
- Vivado时序报告名词解释
- echarts的legend显示不全_Echarts【1、数据过多导致显示不全分页,2、数据展示探讨分析】...
- Logstash+elasticsearch+elastic+nignx
- 股票和基金,哪个适合打工族?
- 初学体验是兴趣养成的重要土壤
- windows下设置PHP环境变量
- MSI Afterburner 官网链接指南
- java 导入pem文件_将PEM导入Java密钥库
- 基于html+css的购物网站前端页面【折扣社】前端网站
- jsp如何打开本地html文件怎么打开,jsp文件怎么打开,教您电脑怎么打开jsp文件
- 资源下载--使用Proxy SwitchyOmega+postman下载资源
- ios证书的申请方法(在线)
- 用Mac电脑看txt小说,哪些阅读器软件更好用?
- 白痴学日语系列之初识日语(一)
热门文章
- .asmx支持post请求或者get请求调用(WebService 因 URL 意外地以 结束,请求格式无法识别 的解决方法)...
- 40.lombok在IntelliJ IDEA下的使用
- 清瘦的记录者: 一个比dbutils更小巧、好用的的持久化工具
- Content-Type: application/vnd.ms-excel
- 【译】GraphQL vs. REST
- Linux下设置进程使用指定核的CPU
- Python加密—AES加密(2)
- rpm、yum、编译安装轻松管理centos7程序包
- IOS开发怎么UINavigationController设置title标题的颜色?
- Yii-yiic使用