Installing PHP modules through Plesk Print

  • plesk, php, php modules, extensions
  • 0

This is a server-wide setting and requires administrator access to Plesk. If your subscription does not include it, open a ticket from your client area and tell us which module you need.

PHP modules (extensions) add functionality that applications rely on — image processing, database drivers, encryption and so on. If a CMS reports a missing extension, this is where it is enabled.

Enabling or disabling a module

  1. Open Tools & Settings → General Settings → PHP Settings.
  2. Click the name of the PHP version you want to change. Each version has its own set of modules.
  3. Tick the modules you want enabled, and untick any you do not need.
  4. Save the changes.

Modules are enabled per PHP version, not per site. If a site does not see the extension after you have enabled it, check which PHP version that domain is actually using — see Choosing the PHP version and changing PHP settings in Plesk.

Points worth knowing

  • Changes take effect after PHP is restarted, which Plesk normally does itself. If the module still does not appear, restart the web server.
  • Enable only the modules you actually need. Every extension loads into every PHP process, consuming memory and adding to the code exposed to an attacker.
  • Disabling a module that a site is using will break that site immediately. If you are not sure whether something is in use, leave it enabled.
  • If the module you need is not in the list at all, it is not installed on the server. Open a ticket and we will look at whether it can be added.

Checking the result

The simplest check is the CMS itself — the message about the missing extension should disappear. Alternatively, ask PHP directly on the server:

php -m

Note that the command line may use a different PHP version from the website, so a module can be present in one and absent in the other.

If a module cannot be enabled, or the site does not see it after the change, open a ticket from your client area with the domain name and the name of the module.


Was this answer helpful?

« Back