LAMPLNMP环境编译参数查询
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LAMPLNMP环境编译参数查询相关的知识,希望对你有一定的参考价值。
Apache编译参数: [[email protected] data]# cat /application/apache/build/config.nice #! /bin/sh # # Created by configure "./configure" "--prefix=/application/apache2.2.27" "--enable-deflate" "--enable-expires" "--enable-headers" "--enable-modules=most" "--enable-so" "--with-mpm=worker" "--enable-rewrite" "[email protected]" 版本: [[email protected] data]# /application/apache/bin/apachectl -v Server version: Apache/2.2.27 (Unix) Server built: Aug 22 2016 17:28:28 nginx编译参数及版本: [[email protected] ~]# /application/nginx/sbin/nginx -V nginx version: nginx/1.6.2 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) TLS SNI support enabled configure arguments: --user=nginx --group=nginx --prefix=/application/nginx1.6.2 --with-http_stub_status_module --with-http_ssl_module mysql: [[email protected] ~]# grep CONFIGURE_LINE /application/mysql/bin/mysqlbug CONFIGURE_LINE="" `test -n "$CONFIGURE_LINE" && echo "Configure command: $CONFIGURE_LINE"` 版本: [[email protected] ~]# mysql -uroot -p888888 Welcome to the MySQL monitor.Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.5.32-log Source distribution php详细的参数: [[email protected] ~]# /application/php/bin/php -i|grep config Configure Command => ‘./configure‘ ‘--prefix=/application/php5.3.27‘ ‘--with-mysql=/application/mysql‘ ‘--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-safe-mode‘ ‘--enable-bcmath‘ ‘--enable-shmop‘ ‘--enable-sysvsem‘ ‘--enable-inline-optimization‘ ‘--with-curl‘ ‘--with-curlwrappers‘ ‘--enable-mbregex‘ ‘--enable-fpm‘ ‘--enable-mbstring‘ ‘--with-mcrypt‘ ‘--with-gd‘ ‘--enable-gd-native-ttf‘ ‘--with-openssl‘ ‘--with-mhash‘ ‘--enable-pcntl‘ ‘--enable-sockets‘ ‘--with-xmlrpc‘ ‘--enable-zip‘ ‘--enable-soap‘ ‘--enable-short-tags‘ ‘--enable-zend-multibyte‘ ‘--enable-static‘ ‘--with-xsl‘ ‘--with-fpm-user=nginx‘ ‘--with-fpm-group=nginx‘ ‘--enable-ftp‘ 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 ‘Asia/Chongqing‘ for ‘CST/8.0/no DST‘ instead in Unknown on line 0 版本: [[email protected] data]#/application/php/bin/php -v PHP 5.3.27 (cli) (built: Jul 9 2016 20:18:26)
本文出自 “randolph” 博客,转载请与作者联系!
以上是关于LAMPLNMP环境编译参数查询的主要内容,如果未能解决你的问题,请参考以下文章