nginx,apache,php,mysql编译参数查看

1.CentOS5.8 x86_64位 采用最小化安装,系统经过了基本优化篇
2.nginx版本:nginx-1.4.7
3.源码包存放位置:/home/oldboy/tools
4.源码包编译安装位置:/application/ ,mysql装在/usr/local/mysql

一.lamp和lanp环境查看编设参数:
   1.nginx查看

[[email protected] nginx]# sbin/nginx -v
    nginx version: nginx/1.4.7
    [[email protected] nginx]# sbin/nginx -V
    nginx version: nginx/1.4.7
    built by gcc 4.1.2 20080704 (Red Hat 4.1.2-54)
    TLS SNI support disabled
    configure arguments: --user=nginx --group=nginx --prefix=/application/nginx-1.4.7 --with-http_stub_status_module --with-http_ssl_module

2.apache

 [[email protected] nginx]# cat /application/apache/build/config.nice 
    #! /bin/sh
    #
    # Created by configure
    "./configure"     "--prefix=/application/apache2.2.29/"     "--enable-deflate"     "--enable-expires"     "--enable-headers"     "--enable-modules=most"     "--enable-so"     "--with-mpm=worker"     "--enable-rewrite"     "[email protected]"

3.mysql

  [[email protected] nginx]# grep CONFIGURE_LINE /usr/local/mysql/bin/mysqlbug

CONFIGURE_LINE="./configure  ‘--prefix=/usr/local/mysql‘ ‘--with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock‘ ‘--localstatedir=/usr/local/mysql/data‘ ‘--enable-assembler‘ ‘--enable-thread-safe-client‘ ‘--with-mysqld-user=mysql‘ ‘--with-big-tables‘ ‘--without-debug‘ ‘--with-pthread‘ ‘--with-extra-charsets=complex‘ ‘--with-readline‘ ‘--with-ssl‘ ‘--with-embedded-server‘ ‘--enable-local-infile‘ ‘--with-plugins=partition,innobase‘ ‘--with-plugin-PLUGIN‘ ‘--with-mysqld-ldflags=-all-static‘ ‘--with-client-ldflags=-all-static‘"
    `test -n "$CONFIGURE_LINE"  && echo "Configure command: $CONFIGURE_LINE"`

4.php

[[email protected] nginx]#  /application/php/bin/php -i |grep configure

Configure Command =>  ‘./configure‘  ‘--prefix=/application/php5.3.29‘ ‘--with-apxs2=/application/apache/bin/apxs‘ ‘--with-mysql=/usr/local/mysql‘ ‘--with-xmlrpc‘ ‘--with-openssl‘ ‘--with-zlib‘ ‘--with-freetype-dir‘ ‘--with-gd‘ ‘--with-jpeg-dir‘ ‘--with-png-dir‘ ‘--with-iconv=/usr/local/libiconv‘ ‘--enable-short-tags‘ ‘--enable-sockets‘ ‘--enable-zend-multibyte‘ ‘--enable-soap‘ ‘--enable-mbstring‘ ‘--enable-static‘ ‘--enable-gd-native-ttf‘ ‘--with-curl‘ ‘--with-xsl‘ ‘--enable-ftp‘ ‘--with-libxml-dir‘
    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

你有可能还需要阅读:

1.php和apache编译安装方法

2.高并发网站的apache参数优化介绍

时间: 2024-09-30 06:40:34

nginx,apache,php,mysql编译参数查看的相关文章

nginx+apache+php+mysql服务器集群搭建

nginx+apache+php+mysql服务器集群搭建 由于需要搭建了一个基本的服务器集群.具体的配置方案先不说了,到有时间的时候再介绍.下面介绍下整个方案的优点. 我总共准备了四台阿里云的主机,架设分别是A,B1,B2,C,A在集群的最前面,B1和B2在A的后面,C在最后面.A主要用的nginx,用nginx做反向代理的功能实在是强大.nginx把来自80的http请求都转发到B1和B2上,B1和B2主要是两台apache,用于php解析.B1和B2来连接C上的mysql.A上的nginx

LANMP环境编译参数查看方法

nginx编译参数查看:/usr/local/nginx/sbin/nginx -V apache编译参数查看:cat /usr/local/apache2/build/config.nice mysql编译参数查看:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE php编译参数查看:/usr/local/php/bin/php -i | grep configure

查看nginx,apache,mysql,php的编译参数

查看nginx编译参数:/usr/local/nginx/sbin/nginx -V查看apache编译参数:cat /usr/local/apache2/build/config.nice查看mysql编译参数:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE查看php编译参数:/usr/local/php/bin/php -i | grep configure

如何针对已经安装好的Apache/PHP/Mysql/Nginx程序查看他们的编译参数

我们经常要对我们已经安装好的程序进行查看他当时的一些编译参数,特别是针对要安装多台服务器来说,而且要保证其他服务器上的软件版本和安装参数必须一致时,这种查看就是很有必要的了.具体查看各程序的编译参数命令如下: 查看Nginx编译参数: C/C++ Code复制内容到剪贴板 /usr/local/nginx/sbin/nginx -V 查看Apache编译参数: C/C++ Code复制内容到剪贴板 cat /usr/local/apache/build/config.nice 查看php编译参数

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

Linux下查看Nginx.Napache.MySQL.PHP的编译参数的命令如下: 1.nginx编译参数:#/usr/local/nginx/sbin/nginx -V2.apache编译参数:# cat /usr/local/apache/build/config.nice3.php编译参数:# /usr/local/php/bin/php -i |grep configure4.mysql编译参数:# cat /usr/local/mysql/bin/mysqlbug|grep conf

查看nginx apache mysql php 编译参数

查看nginx编译参数:/usr/local/nginx/sbin/nginx -V查看apache编译参数:cat /usr/local/apache2/build/config.nice查看mysql编译参数:cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE查看php编译参数:/usr/local/php/bin/php -i | grep configure

查看Nginx Apache MySQL PHP编译参数

# 查看nginx编译参数: /usr/local/nginx/sbin/nginx -V # 查看apache编译参数: cat /usr/local/apache2/build/config.nice # 查看mysql编译参数: cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE # 查看php编译参数: /usr/local/php/bin/php -i | grep configure

如何查看已经安装的nginx、apache、mysql和php的编译参数

在Linux系统下,查看nginx.apache.mysql和php的编译参数的方法如下. 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 或者写个php文件输出phpinfo(),在configure栏也有 4.mysql编译参数: cat your_my

查看nginx.apache.mysql.php squid 编译参数

查看nginx服务的编译参数 /application/nginx/sbin/nginx -V [[email protected] ~]# /application/nginx/sbin/nginx -V nginx version: nginx/1.2.1 built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52) configure arguments: --user=nginx --group=nginx --prefix=/application/ng