cancel
Showing results for 
Search instead for 
Did you mean: 

is this a problem with php 7?

SOLVED

is this a problem with php 7?

moved magento from live to local, local redirects to live site

I did not create the site and I am new to magento, I downloaded the files and database locally, but when I visit the local link I get this, I read on the internet it is a php 7 issue, is there a way to make magento 1.9 work with php 7?

    magento.png 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: is this a problem with php 7?

Hello @alecom2go 

 

In order to work with magento 1.9 you  will need either

 

  • PHP 5.4.x
  • PHP 5.5.x

Magento 1.9 is not compatible to php7. So will have to change your php version as per above requirnment.

 

And also to solve redirection problem 

1. Go to core_config_data table in database

2. Go to web secure url and web unsecure url

3. Change the url path to the local path

 

Hope it helps!!

 

Kudos and accept as solution if it works for you!

View solution in original post

5 REPLIES 5

Re: is this a problem with php 7?

Hello @alecom2go 

 

In order to work with magento 1.9 you  will need either

 

  • PHP 5.4.x
  • PHP 5.5.x

Magento 1.9 is not compatible to php7. So will have to change your php version as per above requirnment.

 

And also to solve redirection problem 

1. Go to core_config_data table in database

2. Go to web secure url and web unsecure url

3. Change the url path to the local path

 

Hope it helps!!

 

Kudos and accept as solution if it works for you!

Re: is this a problem with php 7?

how about php 5.6 would that be ok? cause I switched to that and I still get some issues

Re: is this a problem with php 7?

Can you tell which exact magento version. Below is the list of which php is compatible with which version

 

  • Magento CE 1.9.2 and later, Magento EE 1.14.2 and later:
    • PHP 5.6.x
    • PHP 5.4.x
    • PHP 5.5.x
  • Earlier Magento versions:
    • PHP 5.4.x
    • PHP 5.5.x  

Re: is this a problem with php 7?

I have version 1.9.2

Re: is this a problem with php 7?

Okay  then surely it will support.