cancel
Showing results for 
Search instead for 
Did you mean: 

Parse error when trying to access the setup page

SOLVED

Re: Parse error when trying to access the setup page


@My Screen wrote:

Hello,

 

I see the check mark "solved" but were is the solution. Having the same problem trying to upgrade Magento 2.


The solution is to update your version of PHP. My shared hosting server was using version 5.4 and I was having the same error. I updated the PHP to version 7.0 and it immediately solved the issue. You do not need to do anything else except update your PHP.