Instructions for apachectl command usage under Linux system

Source: Internet
Author: User

The Apachectl command in Linux is designed to help administrators control the functionality of the Apache httpd daemon. The Apachectl script has two modes of operation. First, as a simple httpd front-end program, set all the necessary environment variables, then start the httpd, and pass all command-line arguments. Second, as a SYSV initialization script, accept simple arguments for one word, such as start, restart, stop, and send them as appropriate signals to httpd. Below and small weave together to see the Linux System apachectl command to use the detailed version of the instructions!

Function Description: A program that can be used to control Apache HTTP servers.

Syntax: Apachectl [Configtest][fullstatus][graceful][help][restart][start][status][stop]

Supplemental Note: Apachectl is a slackware containing Apache HTTP Server script file for administrators to control the server, but in other Linux Apache HTTP server does not necessarily have this file.

Parameters:

Configtest check that the syntax in the settings file is correct.

Fullstatus Displays the full state information of the server.

Graceful restarts the Apache server, but does not interrupt the original connection.

Help displays assistance information.

Restart restart the Apache server.

Start starts the Apache server.

Status displays state information for the server summary.

Stop stops the Apache server.

The function descriptions, syntax, supplemental instructions, and parameters are helpful to understand the use of the APACHECTL command of Linux system, and hope to be helpful to interested users.

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.