Plesk Repair Utility: Web

Using the Plesk repair utility with the web aspect regenerates the configuration files for the web server and all domains. In addition, you can use this aspect to reinstall the SSL/TLS certificates, or to resolve issues with missing or corrupted PHP handlers and Apache modules.

If the Plesk repair utility detects a domain, a service plan, or a scheduled task using a missing or corrupted PHP handler, the utility informs you about it and gives you the option to replace the corrupted PHP handler with another one from the list of registered PHP handlers. Then, a domain, a service plan, or a scheduled task is reconfigured with the selected PHP handler.

If the Plesk repair utility detects a missing or corrupted Apache module, it informs you about it and gives you the option to disable it.

The following options are specific to this aspect:

  • -domains-only - Regenerates the configuration files for domains only.
  • -sslcerts - Reinstalls all SSL/TLS certificates and configures all IP addresses to use the default SSL/TLS certificate.
  • -webmail - Reconfigures the webmail site in IIS (Windows only).
  • -validate-configuration - Validates the Apache configuration (Linux only).
  • -server - Regenerates the Apache configuration files only (Linux only).
  • -php-handlers - Checks service plans and domains for unregistered PHP handlers. This option can only be used in the interactive mode.

You can specify individual domains to regenerate the configuration for the specified domains only.

Examples:

  • plesk repair web - Regenerates the configuration files for the web server and all domains.
  • plesk repair web -server - Regenerates the configuration files for the web server only.
  • plesk repair web -domains-only - Regenerates the configuration files for domains only.
  • plesk repair web example.com - Regenerates the configuration files for the example.com domain only.
  • plesk repair web -sslcerts - Reinstalls all SSL/TLS certificates and configures all IP addresses to use the default SSL/TLS certificate.