Article ID: 124991, created on Mar 23, 2015, last review on Oct 27, 2015

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


How can I configure what php will be used for processing php scripts? Does Plesk support mod_php?


By the default Plesk uses Apache module for processing php scenarios (known as mod_php).

The following of PHP handlers can be configurred to use:

  • ISAPI (Windows)
  • Apache module (Linux)
  • FastCGI
  • CGI
  • PHP-FPM (Linux)

Handler choosing depends on security considerations, script execution speed, and memory consumption. An additional information about PHP handler features can be found in Plesk Administrator Guide

You can select a PHP handler for a service plan or a website correspondingly in:

  • service plan settings (Hosting Parameters tab > Scripting > Run PHP as)

  • website settings (Control Panel > Websites & Domains > select a domain > Hosting Settings > Run PHP as)

Note: According to Plesk Administrator's Guide PHP-FPM cannot be selected for all websites at once in service plan settings; you can use this handler only for individual websites.

Note: Switching PHP from Apache module to FastCGI application may impair the functionality of existing PHP scripts. Switching to PHP-FPM by selecting Process PHP by nginx in the website’s web server settings may do the same.

Plesk supports different versions of PHP. For each available handler, and one or more PHP versions can be selected. For details, see Multiple PHP Versions.

The list of PHP handlers available in the Plesk UI depends on the operating system and the web server that is processing PHP files. One of the handlers, PHP-FPM, additionally needs to be installed with the Parallels Installer.

Additionally, uou can switch off the Apache web server modules that are not critical to hosting services in Tools & Settings > Apache Web Server. This will allow you to reduce server resources consumption (for example, get the smaller RAM footprint that is critical to VPS) and, as a result, provide for more hosting customers on a server.

Note: that some modules are interdependent and can be switched off (on) only when the modules they depend on are off (on). For example, the cache module depends on disk_cache, file_cache, and mem_cache modules. This means that you cannot switch off the cache until its three dependent modules are off.

Search Words


fastcgi apache module php

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF