Linux下查看nginx apache mysql php的編譯參數(shù)
快速查看服務(wù)器軟件的編譯參數(shù):
1、nginx編譯參數(shù):
your_nginx_dir/sbin/nginx -v
2、apache編譯參數(shù):
cat your_apache_dir/build/config.nice
3、php編譯參數(shù):
your_php_dir/bin/php -i |grep configure
4、mysql編譯參數(shù):
cat your_mysql_dir/bin/mysqlbug |grep configure
以下是完整的實操例子:
查看獲取nginx的編譯參數(shù):
[root@www ~]# /usr/local/nginx/sbin/nginx -V
nginx: nginx version: nginx/1.0.8
nginx: built by gcc 4.3.2 (Debian 4.3.2-1.1)
nginx: configure arguments: –user=www-data –group=www-data –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_gzip_static_module
查看獲取apache的編譯參數(shù):
[root@www ~]# cat /usr/local/apache2/build/config.nice
#! /bin/sh
#
# Created by configure
"./configure" \
"–prefix=/usr/local/apache2″ \
"–enable-so" \
"–enable-modules=all" \
"–enable-mods-shared=all" \
"–enable-layout=Apache" \
"–enable-ssl=static" \
"–with-ssl=/usr/local/openssl" \
"–enable-rewrite" \
"–enable-suexec" \
"–with-suexec-logfile=/www/logs/suexec.log" \
"–with-suexec-uidmin=500″ \
"–with-suexec-gidmin=100″ \
"–with-suexec-caller=nobody" \
"–with-suexec-docroot=/www" \
查看獲取mysql的編譯參數(shù):
# 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'"
參看獲取php的編譯參數(shù):
[root@www ~]# /usr/local/php5/bin/php -i |grep configure
Configure Command => './configure' '–prefix=/usr/local/php5′ '–enable-exif' '–enable-mbstring' '–with-iconv' '–with-curl=/usr' '–with-gdbm' '–with-gettext' '–enable-calendar' '–enable-magic-quotes' '–enable-wddx' '–enable-ftp' '–enable-inline-optimization' '–with-gd=/usr/local' '–with-zlib' '–enable-gd-native-ttf' '–with-t1lib=/usr/local' '–with-zlib-dir=/usr' '–with-ttf' '–with-freetype-dir=/usr' '–with-gd' '–with-png-dir=/usr' '–with-jpeg-dir=/usr' '–with-mysql=/usr/local/mysql4′ '–enable-force-cgi-redirect' '–with-apxs2=/usr/local/apache2/bin/apxs' '–with-pdo-mysql=/usr/local/mysql4′ '–enable-sockets' '–with-openssl=/usr/local/openssl'
- linux下安裝apache與php;Apache+PHP+MySQL配置攻略
- linux Apache CGI 安裝配置
- linux下apache開啟url重寫的方法(詳細(xì)說明)
- linux apache下虛擬主機(jī)配置方法
- Linux下apache日志分析與狀態(tài)查看方法
- Linux下Apache安裝/增加mod_rewrite模塊的方法
- 阿里云linux服務(wù)器下安裝Apache的簡單方法
- 禁止IP訪問網(wǎng)站的多種方法分享(linux,php,nginx,apache)
- 在Linux系統(tǒng)上查看Apache服務(wù)器的錯誤日志
- CentOS(Linux)下的apache服務(wù)器配置與管理方法分享
- linux下apache、mysql、php安裝配置詳細(xì)筆記
- CentOS Linux 下配置Apache2+PHP5+MySQL5+GD庫的方法
- centos下yum搭建安裝linux+apache+mysql+php環(huán)境的方法
- Linux下PHP+MYSQL+APACHE配置過程 (摘)
- centos下yum搭建安裝linux+apache+mysql+php環(huán)境教程
- Linux下將Python的Django項目部署到Apache服務(wù)器
- Linux下 php5 MySQL5 Apache2 phpMyAdmin ZendOptimizer安裝與配置[圖文]
- 解決Linux+Apache服務(wù)器URL區(qū)分大小寫問題
相關(guān)文章
Centos修改DNS重啟或重啟network服務(wù)后丟失問題解決方法
這篇文章主要介紹了Centos修改DNS重啟或重啟network服務(wù)后丟失問題解決方法,具有一定的參考價值,感興趣的小伙伴們可以參考一下2016-12-12php-fpm可執(zhí)行文件出現(xiàn)亂碼的解決方法
這篇文章主要介紹了php-fpm可執(zhí)行文件出現(xiàn)亂碼的解決方法,需要的朋友可以參考下2014-04-04Linux編譯優(yōu)化必須掌握的幾個姿勢總結(jié)
內(nèi)核是操作系統(tǒng)的核心,也是操作系統(tǒng)最基本的部分。下面這篇文章主要給大家總結(jié)介紹了關(guān)于Linux編譯優(yōu)化必須掌握的幾個姿勢,文中通過示例代碼介紹的非常詳細(xì),需要的朋友可以參考借鑒,下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2018-09-09Linux 下dmidecode查看內(nèi)存條數(shù)的命令介紹
下面小編就為大家?guī)硪黄狶inux 下dmidecode查看內(nèi)存條數(shù)的命令介紹。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2016-11-11