- Plesk for Linux
The PHP Apache handler is marked with an exclamation sign in Plesk at Tools & Settings > PHP Settings.
When pointing on the exclamation sign, the following message is displayed:
PLESK_INFO: The handler cannot be enabled because corresponding Apache module turned off.
The Apache module php5 is greyed out at Tools & Settings > Apache Web Server.
- When the backup from earlier Plesk version is restored, the following warning may appear:
PLESK_WARN: The PHP handler mod_php is not available. Instead, Plesk will use 5.6.39 FPM application served by Apache (id=fpm) for the following websites: example.com
The Apache handler mod_php is disabled by default in Plesk.
Warning: Enabling the Apache handler mod_php is not safe as it is outdated and insecure. Use PHP in FastCGI or FPM mode instead.
If this is certainly should be done, in order to enable the Apache handler mod_php, perform the following actions:
Change the MPM mode to Prefork at Tools & Settings > Apache Web Server.
Enable the php5 module at Tools & Settings > Apache Web Server.
Enable the Apache handler mod_php at Tools & Settings > PHP Settings.
Additionally on Debian/Ubuntu-based distributions, connect to a Plesk server via SSH and apply the following commands additionally:
# 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