...

Manage PHP extensions in WHM

Manage PHP extensions in WHM

This tutorial will show you how to manage PHP extensions in WHM

PHP, Ruby, and Perl are all widely-used web software languages. All of them have at least one system for managing extensions to the core functionality, also known as modules. WHM provides a tool allowing you to interface with each of these extension managers.

1) It’s under Software in the menu.

Manage PHP extensions in WHM

2) Go to Module Installers.

Manage PHP extensions in WHM

As you can see here, there are four module installers available by default: PECL and PEAR for PHP, Ruby Gems, and the Perl Module Installer. (PECL is pronounced like the word ‘pickle’.)

All of these installers are very similar in functionality, so we’ll just be showing you the PECL installer.

3) Click Manage.

Manage PHP extensions in WHM

Each time you visit one of these installers, it will check for updates using the respective server.

Manage PHP extensions in WHM

4) Then, you’ll be able to Search for or Install an extension by name.

5) For a complete list of available extensions, click this button.

5) For a complete list of available extensions, click this button.

6) Scroll through the list until you’ve found an extension to install.

6) Scroll through the list until you've found an extension to install.

7) Click the appropriate Install button.

7) Click the appropriate Install button.

It may take a moment for the necessary file(s) to download.

It may take a moment for the necessary file(s) to download.

Hopefully, you’ll receive a message of success at the end and not an error message.

Hopefully, you'll receive a message of success at the end and not an error message.

Now that we installed an extension, it shows up in the list of installed PHP PECLs, below.

Now that we installed an extension, it shows up in the list of installed PHP PECLs, below.

8) Use the buttons below to check for updates, reinstall or uninstall the module, or show its documentation.

As stated, the other three installers look and behave in exactly the same way as the PECL installer. You should have no trouble using those on your own.

This completes the tutorial. You now know how to manage modules for PHP, Ruby, and Perl in WHM.

Do you have any questions? Ask us in the forums ?

Previous Post
How to use the Perl Script Checker in WHM
Next Post
Install new software using RPMs in WHM