Article ID: 111697, created on Jul 24, 2011, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix
  • Plesk 10.3 for Linux/Unix


If you have domain with CGI/FastCGI mode of PHP some of values will be taken from /var/www/vhosts/DOMAINNAME/conf/php.ini file despite of settings defined in Plesk interface. Thus priority of receiving settings for custom php.ini is following:

server-wide php.ini < PHP setting defined for the domain in the Plesk GUI < domain's conf/php.ini

You can find more details in chapter Applying Custom PHP Settings on Domains with PHP in CGI/FastCGI Mode of Advanced Administration Guide for Linux


Since the release of version 10.3, Parallels Plesk Panel for Unix allows one to enable the per-vhost php.ini configuration file when PHP runs in CGI *or FastCGI *mode.

The file is loaded from the following virtual host etc directory (for 10.3 - 11.0):


or (for 11.5) at:


And please note that applying these changes for 11.5 will require SSH root access - it will not possible to perform this via File Manager.

To enable virtual host-specific PHP configuration, open the Control Panel of the client to whom the domain belongs:

Go to the "Websites & Domains" tab, select the domain, enter its Hosting Settings, and switch PHP mode to FastCGI or CGI:

Search Words

custom php.ini

fastcgi apache module php

change PHP values per domain plesk

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c 0a53c5a9ca65a74d37ef5c5eaeb55d7f 01bc4c8cf5b7f01f815a7ada004154a2 e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040 aea4cd7bfd353ad7a1341a257ad4724a f4ce8084cb23619ef5fe9428ecc388ea 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF