View nginx,apache,mysql,php's compilation parameters under Linux

Source: Internet
Author: User

View Apache version

/usr/sbin/apachectl-v

Httpd-v

installation directory, using APACHECTL-V

View MySQL version

Mysql–help | grep distrib
Mysql-v
Mysql/bin/mysql-u root-p-E "select version ()"

/bin mysqladmin Version

View Linux Versions

Lsb_release-a

Head-n1/etc/issue
Cat/etc/redhat-release (Redhat)

Rpm-q Redhat-release (Redhat)

View Kernel version

Cat/proc/version

Uname-a
Uname-r

View PHP Version

Php-v

Phpinfo ();

View Nginx Version

nginx-v

View nginx,apache,mysql,php's compilation parameters under Linux

1, nginx compilation parameters:
#/usr/local/nginx/sbin/nginx-v

2, Apache compilation parameters:
# Cat/usr/local/apache/build/config.nice

#/usr/local/apache/bin/apachectl-v

#cat $apachehome $/build/config.nice

3, PHP compilation parameters:
#/usr/local/php/bin/php-i |grep Configure

# $PHP $/bin/php-i | grep Configure

#/usr/local/php/bin/php-config

4. mysql Compilation parameters:
# Cat/usr/local/mysql/bin/mysqlbug|grep Configure

5, SMARTD Compile parameters:

#/usr/sbin/smartctl-v|grep Configure

View nginx,apache,mysql,php's compilation parameters under Linux

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.