cancel
Showing results for 
Search instead for 
Did you mean: 

Changed php version in cpanel to 5.6 but Magento site still see php 7.1

Changed php version in cpanel to 5.6 but Magento site still see php 7.1

I have a question about the php version.

We wanted to upgrade our magento site tot magento 2.2 CE but the readines check says that we have php 7.1. I changed this today in our cpanel to php 5.6 but the magento site still says that we are on php 7.1.

So what do i need to do so that our Magento website see that it is on php 5.6?

1 REPLY 1

Re: Changed php version in cpanel to 5.6 but Magento site still see php 7.1

Most likely your PHP version did not change via cPanel.

Create a file called info.php in your public_HTML directory and write the following code

<?php
phpinfo();
?>


Then go to www.yourdomain.com/info.php

This will tell you the version of PHP you are running and give info on any dependencies that might be missing.

If it is the incorrect PHP version you should contact your hosting technical support department