My provider is upgrading the PHP version from 7.1 to 8.1, but my EE-made website stops functioning when PHP 8.1 is used. Can I get my website to function with PHP 8.1 while using EE 3.5.12 or do I need to upgrade EE in order to get the website to work?
I reckon I need to upgrade to EE 7, but in order to test what is going to happen I think it’s prudent to make a clone of what I have (EE + website), put it in a subdomain and make a rollback-point before I muck about. Can anyone tell me how to do that? The cloning part I mean, I think I can manage the mucking about part =)
I have been looking at (https://docs.expressionengine.com/latest/general/database-backup.html) which mentions rsync and a mysql DB-dump, but am not experienced enough to tell if that is the way to create a reliable test-environment.
Thanks in advance!
FWIW… this may be more work than you are looking for, but I simply do it by copying my entire site Down via FTP (FileZilla) and upload it to a new subdomain, then I use Sequel Ace (I’m on a Mac) to export the DB as a SQL file and then import it into a fresh database & change the ‘base_url’, ‘base_path’ and database credentials in the Config.php file on the new development site.
I’m not sure how big of a site you are talking, but if you use a lot of plugins it is worth checking for EE7 compatible ones before running the update.
Hope that helps a bit.
Hello Russ & Jelle, Thanks for the replies. I’ll have a go at Sequel Ace, it sure looks nice! I made a DB backup with phpMyAdmin for now, still have to upload it to the test-subdomain. The CRM that’s running next to EE is giving me troubles updating as well so I’m trying to tackle that one first as it doesn’t work past PHP 7.1 and with EE I can use PHP 7.4 as a go between for a limited time. So it might be a while before I can pickup EE again…
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.