Check out the PanelFi demo — sign in to both panels, nothing to install
Documentation · Customer panel: software and apps

PHP versions, options and extensions

Choose which PHP version your account and each website runs, change common PHP options such as memory and upload limits, switch optional extensions on or off, and override settings for a single domain. Everything is done from one tool with four tabs.

Where to find itCustomer panel › Software › MultiPHP Manager ; Customer panel › Software › MultiPHP INI Editor

How settings stack

PHP settings are applied in layers. The server's defaults come first, then your account's options, then a single domain's own overrides. A later layer wins over an earlier one, and a field you leave empty falls back to the layer below.

The MultiPHP Manager has four tabs: Versions, Options, Extensions and Domain INI overrides. The tool can be switched off for a hosting package in the Feature Manager.

Choose a PHP version

  1. Open MultiPHP Manager and stay on the Versions tab.
  2. Under Account PHP version, pick a version (or Server default) and press Apply. Every domain set to Inherit uses it.
  3. To give one domain its own version, pick it in that domain's row in the Domains table. The In use column shows the version that actually applies and whether it comes from the account or the server.
  4. To change several domains at once, tick them, choose a version (or Inherit (account version)) next to Set the ticked domains to, and press Apply.
MultiPHP Manager: the account version and one version per domain
MultiPHP Manager: the account version and one version per domain

Only domains that have their own website are listed.

Change PHP options for the whole account

  1. Open the Options tab.
  2. Set any of the fields, grouped as Resources, Uploads, Errors, Output, Sessions, OPcache and so on. Common ones are Memory limit (memory_limit), Time limit (max_execution_time), Largest upload (upload_max_filesize) and Largest form submission (post_max_size).
  3. Leave a field empty to use the server's value. Boolean fields offer Default, On and Off.
  4. Press Save options. PHP restarts for your sites so the change shows at once.
PHP options for the whole account
PHP options for the whole account

Some directives are reserved for the server administrator and do not appear here.

Switch extensions on or off

  1. Open the Extensions tab and pick the PHP version in the selector at the top right, then Show.
  2. Ticked extensions are loaded for your sites that use that version. Greyed-out ones are loaded for everyone on the server and cannot be changed.
  3. Tick or untick the optional ones (use the search box to find one) and press Save. Reset PHP extensions to default returns to the server's choice.
PHP extensions of one version
PHP extensions of one version

An extension that is not installed on the server is not listed. Ask your hosting provider to add it for that PHP version; it then appears here.

Override settings for one domain

The Domain INI overrides tab (also reachable as MultiPHP INI Editor) works like the Options tab but for a single website.

  1. Choose the website and press Show.
  2. Fill only the fields you want to change. The page lists the account options currently in effect beneath the form.
  3. Press Save overrides.

The overrides are written to the .user.ini file in the site's folder. Lines you added to that file yourself are kept.

Notes and limits

  • You can only choose from the PHP versions installed on the server. The server administrator manages them (see PHP versions and settings in the server panel).
  • Domain overrides win over your account's options, and account options win over the server's defaults.
  • On a CloudLinux server, your host may also offer CloudLinux's PHP Selector. A version you choose here for a domain always takes priority over it.