Bobcares

How to install a PECL module in PHP provided by Plesk

by | Feb 23, 2022

Install a PECL module in PHP provided by Plesk with a little guidance from the experts at Bobcares.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.

Let’s take a look at how our Support Team is ready to help customers install a PECL module in PHP provided by Plesk.

Installing a PECL module in PHP provided by Plesk

PECL offers a directory of extensions as well as hosting facilities to download and develop PHP extensions. In other words, it is a repository for PHP extensions. We can check and install PECL modules and extensions in PHP by Plesk with this handy guide from our skilled Support Techs.

Before we proceed, our Support Team would like to issue a word of caution. Follow the steps carefully to avoid running into trouble:

  1. First, connect to the Plesk server via RDP.
  2. Next, run the command prompt as Administrator.
  3. Then, verify the thread safety as well as the architecture of the PHP version. For instance, here is an example of PHP 7.3:
    • Thread-safety:
      C:\>"%plesk_dir%\Additional\PleskPHP73\php.exe" -i | findstr "Thread Safety"
      Thread Safety => disabled
    • Architecture:
      C:\>"%plesk_dir%\Additional\PleskPHP73\php.exe" -i | findstr "Architecture"
      Architecture => x64
  4. After that, we have to download an archive for the corresponding version of the module from the PECL website at this link.
  5. Next, unpack the archive copy from the previous step and copy the php_.pdb and php_.dll files from it to %plesk_dir%Additional\PleskPHP71\ext.
  6. Then open the %plesk_dir%\Additional\PleskPHP71\php.ini in a text editor.
  7. Now, it is time to add the line below to the file under the “Dynamic Extensions” section:
    extension=php_.dll

    Our Support Team would like to point out that we may require additional files from some modules.

  8. Finally, restart IIS and apply the change with the following command:
    C:\>iisreset

[Looking for a solution to another query? We are just a click away.]

Conclusion

In brief, our skilled Support Engineers at Bobcares demonstrated how to install a PECL module in PHP provided by Plesk.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.