How To Check And Change Php Version On Shared Hosting Cpanel - FreeCodeBlog

Last updated: Dec 12, 2021

Want to check PHP version on cpanel? Yes. Want to change PHP version on cpanel? Yes. Want to deploy PHP script on cpanel? Yes. Okay before deploy PHP script on shared hosting cpanel, you should check and change PHP version. You will check current PHP version using to many ways like using cpanel terminal, ftp, PHP sector. So let's start to check and change php version on shared hosting cpanel. Wait a minute, Want to upgrade or downgrade the PHP version from cpanel shared hosting? Yes. Don't worry, you can easily do this using cpanel Terminal, FTP, PHP sectors. Now let's start reading this tutorial for more information.


How To Check And Change Php Version On Shared Hosting Cpanel
How To Check And Change Php Version On Shared Hosting Cpanel


1. Login C-Panel Dashboard.

Login your cpanel dashboard using username and password to check and change PHP version on shared hosting.


2. Check PHP Version Using Terminal.

You will check current PHP version using cpanel shared hosting terminal. If you can't access cpanel terminal then contract your hosting provider.

Find Terminal: After login on shared hosting cpanel you need to find terminal on cpanel.

Open Terminal: Now click on terminal button and open cpanel terminal interface to check php version.

Check PHP Version: run php version check command to check current php version using terminal.


php -v
php --version


3. Check PHP Version From Select PHP Version.

You will see select PHP version on shared hosting cpanel. now click on select PHP version to see current PHP version. You will see like 7.4 (current) PHP version on PHP sector page.


4. Reset To Default.

You can setup your PHP version as a default by click on reset to default button.


4. Change PHP Version.

You can change current PHP version to latest or lowest available PHP version. after selected PHP version you will see many A-Z option for current PHP version. check or uncheck any option and click on save button to change current PHP version option.


5. Check PHP Version using FTP.

Before changing PHP version I will remember you that you can check current PHP version using FTP. 


Okay so this is for today. See you again next tutorials. Thanks

Post Tags
Post Writer
Masum Biswas (@masum7323)

My name is Masum Biswas. I'm a full stack developer. I live in Bangladesh and I love to write tutorials and tools that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, MySQL, VueJS, Tailwind CSS and Bootstrap from the early stage.

Follow Me On
Related Posts
How To Create Repository On Cpanel

Cpanel git version control! Yes. You should create repository on cpanel to use git version on your website. Want to connect GitHub repositories wit... Read More

How To Deploy A Laravel 8 Project On Namecheap Shared Hosting Cpanel

Today I will explain you, how we can easily deploy a laravel 8 project on namecheap shared hosting cpanel. If you have a namecheap shared hosting s... Read More

Deploy Laravel Via Ftp On Shared Hosting Cpanel

Deploy laravel via ftp on cpanel! Want to deploy laravel on shared hosting cpanel via ftp? Yes. But why? Because I can't access cpanel public_HTML... Read More

Run The Laravel Artisan Command On The Shared Hosting Cpanel.

Need to run laravel artisan command on shared hosting cpanel? If so, please don't forget to read this tutorial slowly and carefully. Laravel artisa... Read More

Laravel Mail Configuration On Shared Hosting Cpanel

Want to configuration laravel mail on cpanel shared hosting? Actually after successfully deploy laravel project on shared hosting cpanel you need t... Read More