If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)


How to switch to a different PHP version manually (using cPanel)

This video tutorial will show you how to switch to a different PHP version manually (using cPanel).

  1. Go to cPanel, open File Manager and choose “Web Root (public_html/www)”.

  2. Create a new file (or edit the existing one) called .htaccess

  3. To switch to PHP 7.0 add the following line:

    AddHandler application/x-httpd-php70 .php .php5 .php4 .php3
  4. In order to view your server configuration information download the info.php script, unzip the archive. Then upload it to the root directory of your hosting server.

  5. Open any web browser, in a browser address bar type your_site_domain_name/info.php and you will see that PHP version was switched to 7.0

  6. To switch to PHP 5.6 use the following line:

    AddHandler application/x-httpd-php56 .php .php5 .php4 .php3
  7. Go back to your site, then open your_site_domain_name/info.php. You will see that PHP version was changed to 5.6


Feel free to check the detailed video tutorial below:

How to switch to a different PHP version manually (using cPanel)
Live Chat
We help you to choose the right product.
Start chat