- Plesk for Linux
- Under Tools & Settings > PHP Settings PHP Apache handler is marked with an exclamation sign.
The following message is displayed if point the mouse cursor on exclamation sign:
The handler cannot be enabled because corresponding Apache module turned off.
mod_php Apache handler is disabled by default in fresh Plesk 12.5 installations.
mod_php Apache handler is not safe as it is outdated and insecure. Please use PHP in FastCGI or FPM mode instead.
If this is certainly should be done, in order to enable
Apache handler perform the following actions:
- Change MPM mode to "prefork" in Tools & Settings > Apache Web Server.
php5module in Tools & Settings > Apache Web Server.
mod_phpApache 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