We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Upgrade path from EE1.7 stuck on PHP versions

How Do I?

Ty Martin's avatar
Ty Martin
232 posts
6 years ago
Ty Martin's avatar Ty Martin

I was running a site on EE 1.7 (for many years! Such stability!), but recently the host updated all of their LAMP stacks to PHP 7.2 and I neglected to take action in time.

Now when I start the update process to EE2 (in order to get to EE5), it loads the first screen, but upon clicking the Begin button, I get a 500 error. I’m assuming this is because it requires PHP 5 to run the upgrade wizard. I’m stuck. What can I do?

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

You’ll need to perform the upgrades in an environment that each step supports. That means to upgrade to v2, you need to be on PHP <= 7.1. If you have add-ons, you may need to address incompatibilities in those as well. But after upgrading to v2, you can move on to 3/4/5 on PHP 7.2, and it’ll be a cinch. If your host doesn’t have PHP 7.1 or lower available, you’ll need to replicate your site from a database backup on a different environment—locally perhaps—and upgrade it there, then migrate back to the host.

       
Ty Martin's avatar
Ty Martin
232 posts
6 years ago
Ty Martin's avatar Ty Martin

Okay. I’ll have to ask the host to migrate my sites then. Thanks for confirming!

       
Ty Martin's avatar
Ty Martin
232 posts
6 years ago
Ty Martin's avatar Ty Martin

I migrated the site files and database over to a different hosting account (same host) where PHP 5.x is supported. I’m now getting errors: “The system path does not appear to be set correctly. Please open your path.php file and correct the path.” Which path variables should I set up in order to get this working?

       
Jack Brighton's avatar
Jack Brighton
58 posts
6 years ago
Jack Brighton's avatar Jack Brighton

EE1 used a path.php file to hold certain settings. The system_path setting needs to match the name of your main ee system folder, which by default is just named ‘system’. If it was renamed, you need to update it in path.php. For example:

// Path to the directory containing your backend files

$system_path = “./new_system_name/”;
$site_name = ‘myshortsitename’;
$cp_url = ‘http://www.mysitename.com/admin.php’;

Everything else in the path.php file also needs to match your site setup.

EE2 and beyond folded the path.php settings into index.php, I believe, so there’s no path.php file after EE1.

Hope that helps!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.