- 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.
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.
On Debian/Ubuntu-based distributions, 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