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:
- Log in to Plesk.
- Select the “Tools & Settings” option from the left side of the screen.
- Select the “PHP settings” sub-option under the “General settings” sections.
- Select the handler from the options available.
- Click on the “Manage PECL packages” button.
- 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).
- 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.
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