Nginx,apache,php,mysql Compile parameter view

Source: Internet
Author: User


The 1.centos5.8 x86_64 is minimized, and the system has undergone a basic optimization
2.nginx version: nginx-1.4.7
3. Source Package storage Location:/home/oldboy/tools
4. Source Package Compilation Installation Location:/application/, MySQL installed in/usr/local/mysql

I. Lamp and LANP environment View set parameters:
1.nginx View

[[email protected] nginx]# sbin/nginx-v nginx version:nginx/1.4.7 [[email protected] nginx]# sbin/nginx-v ngin x version:nginx/1.4.7 built by GCC 4.1.2 20080704 (Red Hat 4.1.2-54) TLS SNI support disabled Configure argument S:--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 for rely on the system ' s timezone settings. You is *required* to use the Date.timezone setting or the Date_default_timezone_set () function. In case you used any of those methods and you is still getting this warning, your most likely misspelled the timezone Iden Tifier. We selected ' asia/chongqing ' for ' cst/8.0/no DST ' instead in Unknown on line 0

You may also need to read:

1.php and Apache compiled installation methods

2. Introduction to Apache parameter optimization for high concurrency sites

This article is from "Spider-Man" blog, please be sure to keep this source http://txidc.blog.51cto.com/9138217/1567308

Nginx,apache,php,mysql Compile parameter view

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.