How to change PHP version and extensions (cPanel on CloudLinux)

We're going to explain how to change the PHP version and install required PHP extensions to run your application on your shared hosting account.

  1. Login to cPanel
  2. Find Select PHP Version



  3. PHP selector interface will open:


    A. Select the required PHP version
    B. Click on Set as current to save your PHP version selection
    C. Select the required PHP extensions from C area
    D. To change common PHP settings in php.ini, click on Switch to PHP Options 

  4. Now you've changed your PHP version and installed required extensions successfully. If you want to change some PHP settings, click on Switch to PHP options, Point D from the figure in point #3.
    Some of the PHP options available to modify are max_execution_time, memory_limit, post_max_size, upload_max_filesize and more.

Note: This interface is available ONLY on our shared hosting and servers with cPanel + CloudLinux If the server doesn't run cPanel and CloudLinux, you'll not be able to find this interface

  • change php version, increase memory size, max upload size, upload limit
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create an Email Account on cPanel

Please do the following to create an Email account on cPanel: Login to cPanel Look for Email...

Can i use phpMyAdmin outside cPanel?

The phpMyAdmin tool available in cPanel is bundled with it and can be used only if you are...

Domain (example.com) has exceeded the max defers and failures per hour

If you are receiving an error similar to "Domain example.com has exceeded the max defers and...

How to access cPanel?

You can access cPanel directly using your domain or server IP in the following...

Enable LiteSpeed cache plugin for WordPress from cPanel

You can install LiteSpeed cache plugin for WordPress in two ways, we're going to explain how to...