New online environment taste is already configured, we in the fault analysis, service tuning, or even the server migration, to carefully review the environment compilation parameters, to avoid operational errors affecting business operations ...
1) nginx Service compilation parameters
[Email protected] ~]#/application/nginx/sbin/nginx-vnginx version:nginx/1.6.3[[email protected] ~]#/application/ Nginx/sbin/nginx-vnginx version:nginx/1.6.3built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) TLS SNI support Enabledc Onfigure arguments:--user=www--group=www--with-http_ssl_module--with-http_stub_status_module--prefix=/ Application/nginx-1.6.3/[[email protected] ~]# cat/application/apache/build/config.nice #! /bin/sh## Created by configure
2) Apache Service compilation parameters
[Email protected] ~]# cat/application/apache/build/config.nice "./configure" "--prefix=/application/apache2.2.31" " --enable-deflate "--enable-expires" "--enable-headers" "--enable-modules=most" "--enable-so" "--with-mpm=worker" "- -enable-rewrite "" [Email protected] "
3) MySQL Service compilation parameters
[[email protected] ~]# grep configure_line/application/mysql/bin/mysqlbug configure_line= "' Test-n" $CONFIGURE _line " && echo "Configure command: $CONFIGURE _line" ' #这里由于我们使用的二进制安装包, not natively compiled
4) PHP service compilation parameters
[[email protected] ~]# /application/php/bin/php -i|grep configureconfigure command => './configure ' '--prefix=/application/php5.5.32 ' '-- Enable-mysqlnd ' '--with-pdo-mysql=mysqlnd ' '--with-mysqli=mysqlnd ' '--with-iconv-dir=/usr/local /libiconv ' '--with-freetype-dir ' '--with-jpeg-dir ' '--with-png-dir ' '--with-zlib ' '-- With-libxml-dir=/usr ' '--enable-xml ' '--disable-rpath ' '--enable-bcmath ' '--enable-shmop ' '--enable-sysvsem ' '--enable-inline-optimization ' '--with-curl ' '--enable-mbregex ' ' --ENABLE-FPM ' '--enable-mbstring ' '--with-gd ' '--with-mcrypt ' '--enable-gd-native-ttf ' '--with-openssl ' '--with-mhash ' '--enable-pcntl ' '--enable-sockets ' '--WITH-XMLRPC ' '--enable-zip ' '--enable-soap ' '--enable-short-tags ' '--enable-static ' '--with-xsl ' '--with-fpm-user=www ' '--with-fpm-group=www ' '--enable-ftp ' '--enable-opcache=no ' php warning: unknown: It is not safe to rely on the system ' S timezone settings. you are *required* to use the date.timezone setting or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. we selected the timezone ' UTC ' for now, but please set date.timezone to select your timezone. in unknown on line 0
Get the Lamp and Lamp Environment compilation parameters