How can i see php extensions in cpanel?

PHP is a modular system where you can install and enable new modules to provide extra functionalities. These modules or extensions can also be disabled to enhance PHP's performance and reduce your security vector.

A shared hosting system such as cPanel doesn't let you install third-party PHP extensions yourself, but it normally comes pre-installed with most standard extensions. You can enable or disable these PHP modules on cPanel from the dashboard.

Steps to enable or disable PHP extensions in cPanel:

  1. Log in to your cPanel dashboard.

  2. Click on Select PHP Version in the Software section.

    How can i see php extensions in cpanel?

  3. Take note on the PHP version that you are configuring.

    How can i see php extensions in cpanel?

    Modules are enabled and disabled only for the selected version. You'll need to enable or disable the PHP modules again if you switch to another PHP version later.

  4. Scroll down to see the available modules.

    How can i see php extensions in cpanel?

  5. Hover on the checkbox to see the module description (optional).

    How can i see php extensions in cpanel?

  6. Click on the checkbox to enable and disable the selected module.

    How can i see php extensions in cpanel?

    Modules are immediately enabled or disabled when the checkbox is ticked or unticked.

Discuss the article:

Comment anonymously. Login not required.

Friends, today we will talk about How to enable PHP extensions through cPanel. Last, to last week we published a post about How to enable PHP modules in WHM. So today we write this post because one of my subscribers requested for this post.

In this post, we will learn how to install PHP Zip extension from cPanel. Sometimes these extensions are not installed/activated by default in cPanels, so we have to manually install it.

Let see how we can enable PHP ZIP extension. Follow the below steps, screenshots are taken from Godaddy cPanel:

STEP 1: Login to your website cPanel(Control Panel), Go to Software section, see screenshot(source: Godaddy cPanel)

How can i see php extensions in cpanel?

STEP 2: Go to PHP PEAR Package. Type Zip in the search bar, you will find Archive_Zip. Click on green install icon, see screenshot(source: Godaddy cPanel)

How can i see php extensions in cpanel?

STEP 3: Once you install Archive_Zip,  go to the second part(Select PHP Version) of this process as per the first screenshot.

STEP 4: Once you click Select PHP Version, you will see all enabled extensions in the current PHP version, you can see Archive_Zip(zip) as well. Now what we have to do is to click the checkbox of Zip extension and then hit the save button to add the Archive_Zip to the current PHP version. See screenshot(source: Godaddy cPanel)

How can i see php extensions in cpanel?

STEP 5: Once you hit the save button,  your PHP Zip extension would be installed successfully.

STEP 6: Now the final process(3rd part as per in the first screenshot) is to clear all the PHP Processes(it is like clearing cache). What we have to do is, click the PHP Processes and hit the Kill Processes button, That’s all.

How can i see php extensions in cpanel?

STEP 7: Your PHP Zip Extension is installed successfully. Now you can use PHP ZIP Extension on your website.

Read How to Enable PHP Modules in WHM

How to Enable PHP Modules in WHM

How can i see php extensions in cpanel?

Related

Where is my PHP extensions directory?

So after installation of PHP the best way to identify the extension directory is to open php info file and check for all the settings. In the php info display it will be written where the extension file of the system is stored. It is also known as extension_dir .

How do I enable PHP Fileinfo extension in cPanel?

You can enable fileinfo extension from cpanel 1 . Go to SOFTWARE=> 2. Select PHP Version=>fileinfo check box and enable fileinfo extension.

How do I check my PHP extensions?

If your server only has a single PHP version installed, you can run this PHP command anywhere, and it will give you the same list of modules. The general command we will be using is php -m. This command will give you the full list of installed PHP modules/extensions.

How do I know what PHP extensions are installed in cPanel?

Use WHM's MultiPHP Manager interface (WHM >> Home >> Software >> MultiPHP Manager). This interface allows you to see and change a user's default PHP version. This is the easiest method to determine a user's PHP version. Use cPanel's MultiPHP Manager interface (cPanel >> Home >> Software >> MultiPHP Manager).