How to Enable/Disable Apache Graceful Restart in Plesk via control panel and command line

November 15, 2023 / Plesk

This article explains how to enable/disable Apache graceful restart in plesk via control panel and command line.

Follow the steps:

  1. Via Control panel-
    1. Log in to Plesk control panel.
    2. Select “Tools & Settings” option under “Server management” category.
      Tools & settings
    3. You will enter a new page, locate “General Settings” section, and click on the “Apache Web Server” option.
      Apache web server
    4. Tick the checkbox named “Apache graceful restart” to enable Apache graceful restart and untick to disable.
      Apache web server settings
  2. Via Command-line interface-
    1. Connect to the Plesk server through SSH.
    2. Execute the below command-
      1. To enable Apache graceful restart-
        # plesk bin settings –set restart_apache_gracefully=true
      2. To disable Apache graceful restart-
        # plesk bin settings –set restart_apache_gracefully=false

Wasn’t it simple? If you liked our article, you will surely love our support. For any assistance, reach out our support team.

Spread the love