How do I see the compiled parameters of Nginx, Apache, PHP, and MySQL that have been compiled and installed?

Source: Internet
Author: User
Tags php compiler


A), to view the compiler parameters and version of Nginx?

[[Email Protected]~]#/application/nginx/sbin/nginx-v

nginx Version: nginx/1.8.0

Built by GCC 4.4.720120313 (Red Hat 4.4.7-4) (GCC)

Built with Openssl1.0.1e-fips 2013

TLS SNI Support Enabled

Configure arguments: --prefix=/application/nginx1.8.0--user=nginx--group=nginx--with-http_stub_status_module--with-http_ssl_ Module

II), check the Apache compilation parameters and version?

[[email protected]ryan~]# cat/application/apache/build/config.nice # View compilation Parameters

#!/bin/sh

#

#Created by Configure

"./configure" \

"--prefix=/application/apache2.2.31" \

"--enable-deflate" \

"--enable-expires" \

"--enable-headers" \

"--enable-modules=most" \

"--enable-so" \

"--with-mpm=worker" \

"--enable-rewrite" \

[[email protected]ryan~]#/application/apache/bin/apachectl–v # view Apache version

III), view MySQL's compilation parameters?

[[email protected]ryan~]# grep Configure_line/application/mysql/bin/mysqlbug

Configure_line= "./configure '--prefix=/application/mysql5.1.72 '--with-unix-socket-path=/application/ Mysql5.1.72/tmp/mysql.sock '--localstatedir=/application/mysql5.1.72/data '--enable-thread-safe-client '-- With-mysqld-user=mysql '--with-big-tables '--without-debug '--with-pthread '--enable-assembler '-- With-extra-charsets=complex '--with-readline '--with-ssl '--with-embedded-server '--enable-local-infile '-- With-plugins=partition,innobase '--with-mysqld-ldflags=-all-static '--with-client-ldflags=-all-static ' "

' Test-n ' $CONFIGURE _line "&& echo" CONFIGURE command: $CONFIGURE _line "'

d), check the PHP compiler parameters?

[Email protected]Ryan ~]#/application/php/bin/php-i|grep Configure

configurecommand =>  './configure '   '--prefix=/ application/php5.3.27 '--with-apxs2=/application/apache/bin/apxs '--with-mysql=/application/mysql '-- With-xmlrpc '--with-openssl '--with-zlib '--with-freetype-dir '--with-gd '--with-jpeg-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 '

PHPWarning:Unknown:It is not safe to relyon the system ' s timezone settings. You is *required* to use the date.timezonesetting or the Date_default_timezone_set () function. In case you used any ofthose methods and you is still getting this warning, your most likelymisspelled the timezone Identi Fier. We selected ' asia/chongqing ' for ' cst/8.0/no DST ' instead in Unknown on line 0



How do I see the compiled parameters of Nginx, Apache, PHP, and MySQL that have been compiled and installed?

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.