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
以下是完整的實(shí)操例子:
查看獲取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ì)說(shuō)明)
- linux apache下虛擬主機(jī)配置方法
- Linux下apache日志分析與狀態(tài)查看方法
- Linux下Apache安裝/增加mod_rewrite模塊的方法
- 阿里云linux服務(wù)器下安裝Apache的簡(jiǎn)單方法
- 禁止IP訪問(wèn)網(wǎng)站的多種方法分享(linux,php,nginx,apache)
- 在Linux系統(tǒng)上查看Apache服務(wù)器的錯(cuò)誤日志
- CentOS(Linux)下的apache服務(wù)器配置與管理方法分享
- linux下apache、mysql、php安裝配置詳細(xì)筆記
- CentOS Linux 下配置Apache2+PHP5+MySQL5+GD庫(kù)的方法
- centos下yum搭建安裝linux+apache+mysql+php環(huán)境的方法
- Linux下PHP+MYSQL+APACHE配置過(guò)程 (摘)
- centos下yum搭建安裝linux+apache+mysql+php環(huán)境教程
- Linux下將Python的Django項(xiàng)目部署到Apache服務(wù)器
- Linux下 php5 MySQL5 Apache2 phpMyAdmin ZendOptimizer安裝與配置[圖文]
- 解決Linux+Apache服務(wù)器URL區(qū)分大小寫問(wèn)題
相關(guān)文章
linux VPS主機(jī)上備份網(wǎng)站和數(shù)據(jù)庫(kù)的方法
現(xiàn)在看到越來(lái)越多的VPSer開始使用VPS,在使用VPS的時(shí)候一個(gè)很重要的任務(wù)就是VPS提供備份,雖然一些IDC也提供VPS的備份服務(wù),但要不就是收費(fèi),都不太適合我們這些VPSer們使用。2010-12-12
關(guān)于crontab定時(shí)任務(wù)命令解讀
這篇文章主要介紹了關(guān)于crontab定時(shí)任務(wù)命令的用法,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教2024-07-07
安裝Ubuntu和ssh遠(yuǎn)程連接的設(shè)置方式
文章介紹了在Ubuntu操作系統(tǒng)中進(jìn)行遠(yuǎn)程連接配置的方法,具體步驟包括:安裝并配置SSH服務(wù),設(shè)置靜態(tài)IP地址,配置遠(yuǎn)程桌面服務(wù)(VNC或RDP),以及解決root用戶SSH遠(yuǎn)程登錄的問(wèn)題2025-03-03
Linux 監(jiān)控文件被什么進(jìn)程修改(詳解)
下面小編就為大家?guī)?lái)一篇Linux 監(jiān)控文件被什么進(jìn)程修改(詳解)。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧2016-12-12
Linux系統(tǒng)配置網(wǎng)絡(luò)詳細(xì)介紹
大家好,本篇文章主要講的是Linux系統(tǒng)配置網(wǎng)絡(luò)詳細(xì)介紹,感興趣的同學(xué)趕快來(lái)看一看吧,對(duì)你有幫助的話記得收藏一下,方便下次瀏覽2022-01-01

