国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > Apache > 正文

Linux下查看nginx apache mysql php的編譯參數

2024-08-27 18:27:49
字體:
來源:轉載
供稿:網友

快速查看服務器軟件的編譯參數:
1、nginx編譯參數:
your_nginx_dir/sbin/nginx -v
2、apache編譯參數:
cat your_apache_dir/build/config.nice
3、php編譯參數:
your_php_dir/bin/php -i |grep configure
4、mysql編譯參數:
cat your_mysql_dir/bin/mysqlbug |grep configure


以下是完整的實操例子:

查看獲取nginx的編譯參數:
代碼如下:
[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的編譯參數:
代碼如下:
[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的編譯參數:
代碼如下:[root@www ~]# grep configure /usr/local/mysql/bin/mysqlbug
# 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的編譯參數:
代碼如下:
[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'

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 加查县| 长阳| 墨竹工卡县| 屯昌县| 焦作市| 灵石县| 溧水县| 任丘市| 六盘水市| 龙胜| 双城市| 芦山县| 微博| 阜平县| 博爱县| 武夷山市| 双柏县| 三河市| 弥勒县| 彰化县| 孟村| 大名县| 什邡市| 江陵县| 长宁县| 姚安县| 斗六市| 衡山县| 湖州市| 西乌| 鲁山县| 澎湖县| 静海县| 尉氏县| 江川县| 洛阳市| 墨脱县| 长岭县| 巴塘县| 岢岚县| 东台市|