Various software and programming languages will be updated over time with upgrades and software versions. Due to the elimination of security holes and numerous errors, you need to update them to help avoid various errors. Also, you can change the version of PHP to a lower one. Today, we are going to describe how to change PHP version of website. Stay with us.
You can change PHP version of website via two ways depending of your webhosting control panel.
Change the version of PHP via CPanel
Follow below steps to change it.
Step1: At the beginning you should log in to your CPanel.
Step2: Go to PHP Configuration.
Step3: Now, you can choose the PHP version as it necessary. You can update it or refer to an older version.
Change the version of PHP via DirectAdmin
Follow below steps to change it via DirectAdmin.
Step1: At the beginning you should log in to your DirectAdmin.
Step2: Go to Advanced Features and choose the Select PHP Version
Step3: Choose the version you want in drop down list.
Click on Set as current to set it. Your webhosting will change it automatically.
Thank you to read How to change PHP version of website article.