您的位置:首页 > 运维架构 > Nginx

扩展41:查看Apache php mysql nginx的编译参数:

2018-08-27 15:45 405 查看
总结

/usr/local/apapche2.4/build/config.nice #查看apache的编译参数:

/usr/local/php/bin/php -i|grep configure #查看php的编译参数:

/usr/ocal/mysql/bin/mysqlbug |grpe configure #查看mysql的编译参数;

/usr/local/nginx/sbin/nginx -V #查看nginx的编译参数:

[root@localhost_002 ~]# cat /usr/local/apapche2.4/build/config.nice            #Apache
#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/usr/local/apapche2.4" \
"--with-apr=/usr/local/apr" \
"--with-apr-util=/usr/local/apr-util" \
"--enable-so" \
"--enable-mods-shared=most" \
"$@"
[root@localhost_002 ~]# /usr/local/php/bin/php -i |grep configure             #PHP
Configure Command =>  './configure'  '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apapche2.4/bin/apxs' '--with-config-file-path=/usr/local/php/etc' '--with-mysql=/usr/local/mysql' '--with-pdo-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-libxml-dir' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir' '--with-iconv-dir' '--with-zlib-dir' '--with-bz2' '--with-openssl' '--with-mcrypt' '--enable-soap' '--enable-gd-native-ttf' '--enable-mbstring' '--enable-sockets' '--enable-exif'
[root@localhost_002 ~]# cat /usr/local/mysql/bin/mysqlbug |grep -A5 configure    #MYSQL
# This is set by configure
[root@localhost_002 ~]# /usr/local/nginx/sbin/nginx -V                       #Nginx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Nginx PHP Apache MySQL