Skip to main content

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.

To increase php memory limit, loginLogin to your cPanel and the follow these steps.

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

    Select PHP Version.png

  2. ClickIf OnYou "Options"want into change PHP Selectorversion select php version from the dropdown and then click on "Set as current".

    Click Options on PHP Selector.pngSelect php version.png

  3. OnSelect Optionsthe pageextensions selectwhich desiredYou phpwant memoryto limitinstall from the dropdown.

    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 desired php memory limit.pngSelect php extensions.png