How to Install PECL Packages in Plesk

August 24, 2024 / Plesk

Installing PECL packages in Plesk allows you to extend PHP functionality with additional libraries and tools not included in the default PHP distribution.

Follow the steps:

  1. Log in to Plesk.
  2. Select the “Tools & Settings” option from the left side of the screen.
    tools and settings
  3. Select the “PHP settings” sub-option under the “General settings” sections.
    PHP settings
  4. Select the handler from the options available.
    PHP settings
  5. Click on the “Manage PECL packages” button.
    Manage PECL package
  6. Locate the required package for your PHP version from the initial list and install it by clicking the “+” button next to it (if the package is not listed, use the Search box to find it).
    install package
  7. To install a beta version of an extension, click the “Install package” button and specify additional parameters, such as ‘msgpack-beta,’ with the package name.
    package
    Note: The Manage PECL Packages feature is available only for PHP versions 7.3 and later.

That is it!

Find out how to easily control PHP functionalities by checking How to Enable/Disable PHP Extensions in Plesk

Spread the love