Upgrading to php8.x - Printable Version +- WA Forums (https://webassist-pro.com/WAforum) +-- Forum: Introduction (https://webassist-pro.com/WAforum/forumdisplay.php?fid=1) +--- Forum: Topics related to WA products (https://webassist-pro.com/WAforum/forumdisplay.php?fid=2) +---- Forum: PHP/MySQLi General (https://webassist-pro.com/WAforum/forumdisplay.php?fid=5) +---- Thread: Upgrading to php8.x (/showthread.php?tid=5) |
Upgrading to php8.x - Mags - 08-28-2024 I've upgraded all the sites I manage from PHP7.4 to 8.2 and after getting a series of PHP errors, these are the steps I took to fix the errors which I hope will be helpful to others.
I would STRONGLY advise that you make a copy of the existing files & folders before doing any updates, just in case you have to roll back for any reason. All the above updates can be done before you upgrade to php8.2 - the upgrade should be the final step. There could be other updates required depending on which WA products you're using, but hopefully this will help some of you. I've attached copies of the files & folders mentioned above which were generated using the latest version of DataBridge. |