Apache handler is not available in Plesk: The handler cannot be enabled because corresponding Apache module turned off

Created:

2016-11-16 12:49:02 UTC

Modified:

2017-04-24 11:02:17 UTC

3

Was this article helpful?


Have more questions?

Submit a request

Apache handler is not available in Plesk: The handler cannot be enabled because corresponding Apache module turned off

Applicable to:

  • Plesk for Linux

Symptoms

In Tools & Settings > PHP Settings , PHP Apache handler is marked with an exclamation sign.

The following message is displayed if navigate the mouse cursor on orange exclamation mark:

The handler cannot be enabled because corresponding Apache module turned off.

Cause

mod_php Apache handler is disabled by default in fresh Plesk 12.5 installations.

Resolution

Note: it is not recommended to enable mod_php Apache handler as it is outdated and insecure. Please use PHP in FastCGI or FPM mode instead.

If this is certainly should be done, perform following actions in order to enable mod_php Apache handler:

  1. Change MPM mode to prefork in Tools & Settings > Apache Web Server .
  2. Enable php5 module in Tools & Settings > Apache Web Server .
  3. Enable mod_php Apache handler in Tools & Settings > PHP Settings .

In addition, the following commands can be used on Debian-based OSes:

# touch /var/lib/apache2/module/disabled_by_admin/mpm_event
# touch /var/lib/apache2/module/enabled_by_admin/mpm_prefork
# touch /var/lib/apache2/module/enabled_by_admin/php5
Have more questions? Submit a request
Please sign in to leave a comment.