How can I change php version and install extensions

This guide is applicable for the cPanel servers which have Cloudlinux installed and Cloudlinux's php selector is enabled.


Login to your cPanel and the follow these steps.

  1. Click on "Select PHP Version" on cPanel under Software section.

    Select PHP Version.png



  2. If You want to change PHP version select php version from the dropdown and then click on "Set as current".

    Select php version.png



  3. Select the extensions which You want to install from the list

    If native is selected as php version then extensions list will not show. Make sure to select any php version as demonstrated in step 2 above


    Select php extensions.png

Revision #3
Created 25 November 2021 21:13:29 by Wasif Laeeq
Updated 25 November 2021 21:20:43 by Wasif Laeeq