How to view their compilation parameters for an already installed Apache/php/mysql/nginx program

Source: Internet
Author: User

We often have to look at the programs that we've already installed. Some of the compilation parameters he had at the time, especially for the installation of multiple servers, and to ensure that the software version and installation parameters on other servers must be consistent, this view is necessary. To see the compilation parameters of each program, the command is as follows:

To view nginx compilation parameters:C + + Code copy content to clipboard
    1. /usr/local/nginx/sbin/nginx-v
To view Apache compilation parameters:C + + Code copy content to clipboard
    1. Cat/usr/local/apache/build/config.nice
To view PHP compilation parameters:C + + Code copy content to clipboard
    1. /usr/local/php/bin/php-i |grep Configure
To view MySQL compilation parameters:C + + Code copy content to clipboard
    1. Cat/usr/local/mysql/bin/mysqlbug|grep Configure

How to view their compilation parameters for an already installed Apache/php/mysql/nginx program

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.