• 查看Nginx、PHP、Apache和MySQL的编译参数


    1.查看Nginx编译参数

    [root@portal finance]# your_nginx_dir/sbin/nginx -V 
    nginx version: nginx
    /1.6.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx-1.6.0 --with-http_ssl_module

    2.查看PHP编译参数

    [root@portal finance]# your_php_dir/bin/php -i | grep configure 
    Configure Command
    => './configure' '--prefix=/usr/local/php-7.1.0' '--enable-fpm' '--enable-inline-optimization' '--with-config-file-path=/usr/local/php-7.1.0/lib' '--enable-mbstring' '--with-curl' '--with-gd' '--with-jpeg-dir' '--with-zlib' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-pcntl' '--enable-mbregex' '--enable-zip' '--with-pcre-regex' '--with-mysql' '--with-mysqli' '--with-openssl'

     3.查看Apache编译参数

    [root@portal finance]# cat your_apache_dir/build/config.nice 

    4.查看MySQL编译参数

    [root@portal finance]# cat your_mysql_dir/bin/mysqlbug | grep configure 
    # 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'"
  • 相关阅读:
    css半透明边框
    css脱离文档流
    margin负值的作用
    浅谈BFC
    css多列布局
    css布局--水平垂直居中
    css布局--垂直居中
    css布局--水平居中
    题解-APIO2019奇怪装置
    题解-AtCoder ARC-078F Mole and Abandoned Mine
  • 原文地址:https://www.cnblogs.com/yueyun00/p/10212721.html
Copyright © 2020-2023  润新知