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 OR Options in other versions of the interface.

  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.

  • php selector, cloudlinux, cpanel, php
  • 439 Users Found This Useful
Was this answer helpful?

Related Articles

How to access WHM?

We provide WHM access only to our customers on Reseller hosting, Cloud/VPS Hosting and Dedicated...

Can i use phpMyAdmin outside cPanel?

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

What is an Inode or File Usage indicator in cPanel?

An inode is a record in a disk table, which contains information about a file or folder such as...

How to reduce the number of inodes my account uses?

The number of inodes equals the total number of files and folders on your web hosting account. In...

How to access cPanel?

1) Note: This point is for shared hosting customers!You can access cPanel from Customer Area...