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

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux

Created:

2016-11-16 12:49:02 UTC

Modified:

2017-02-16 21:34:23 UTC

1

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

Symptoms

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

The following message is displayed if navigate 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 installation.

Resolution

Note: It is not recommend 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 .

On Debian based OSes use the following commands to do the same:

# 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.