How to enable Apache graceful restart in Plesk

Created:

2016-11-16 12:43:24 UTC

Modified:

2017-08-16 17:11:10 UTC

2

Was this article helpful?


Have more questions?

リクエストを送信

How to enable Apache graceful restart in Plesk

Applicable to:

  • Plesk Onyx for Linux
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix

Question

How to enable Apache graceful restart in Plesk?

Answer

By default, Plesk does not use Apache graceful restart for applying new settings. As a result Apache will be restarted every time you change hosting settings through the Plesk GUI.

Note : that enabling graceful restart can lead to an unwanted websites downtime.

In order to enable graceful restart, add restart_apache_gracefully parameter with a true value to the psa.misc table:

  1. Log in to the Plesk database:

    # MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa
    
  2. Apply the following MySQL query:

    mysql> INSERT INTO misc VALUES ('restart_apache_gracefully', 'true');
    
他にご質問がございましたら、リクエストを送信してください
ログインしてコメントを残してください。