Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Predefining Values for Customizable PHP Parameters

 
advanced administration guide winsystem maintenanceguideperformancephp

Plesk allows to define custom PHP configuration for a certain service
plan, add-on plan, subscription, website, and even subdomain. For this
purpose, the Plesk GUI exposes 16 most often used PHP parameters that
allow customization. The administrator or a customer can set the value
of each parameter either by selecting a value from a preset, typing a
custom value, or leaving the default value
. In the latter case, Plesk
takes the parameter value from the server-wide PHP configuration.

Adding the following lines to the
panel.ini
file, you can specify what PHP parameters values will be available in
the preset and toggle the visibility of the custom value field.

Defining the Preset Values

To set the list of predefined values for a certain PHP parameter:

[php]
settings.<parameter_group>.<parameter_name>.values[]=<value>

where

  • <parameter_group> - a group of a PHP parameter: performance
    for the performance PHP settings and general if the parameter is
    placed in to the common group. For more information about the groups
    of PHP parameters, read the Administrator’s
    Guide
    .
  • <parameter_name> - a name of a PHP parameter. Use the same syntax
    as in php.ini.
  • <value> - a parameter’s value added to the preset. Use the same
    syntax as in php.ini.

Add such line for each value in the preset. For example, if you want
Plesk users to choose the value of the memory_limit parameter
between 8M and 16M, add the following lines to
panel.ini:

[php]
settings.performance.memory_limit.values[]=8M
settings.performance.memory_limit.values[]=16M

Hiding the Custom Value Fields

To hide the field that allows entering the custom value for a certain
PHP parameter:

[php]
settings.<parameter_group>.<parameter_name>.custom=false

where

  • <parameter_group> - a group of a PHP parameter: performance
    for the performance PHP settings and general if the parameter is
    placed in to the common group. For more information about the groups
    of PHP parameters, read the Administrator’s Guide,
  • <parameter_name> - a name of a PHP parameter. Use the same syntax
    as in php.ini.

For example, if you do not want Plesk users to set custom values to the
memory_limit parameter, add the following line to
panel.ini:

[php]
settings.performance.memory_limit.custom=false

To switch the custom value field back on, replace false with
true.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Ruby on Rails vs PHP: Which one’s right for your needs?

Read More »

Varnish for WordPress in a Docker container

Read More »

How Does GDPR Affect Your eCommerce Business?

Read More »
Knowledge Base

PHP Management

Read More »

Enhancing Performance

Read More »

Uploading Backup Files to Server

Read More »

IIS Web Server Settings – Common Settings

Read More »

Hosting Wiki

  • Server Redundancy
  • Bare Metal Server
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • PHP
  • Web Server
  • DNS Server
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family