LiveG Posted September 26, 2022 Posted September 26, 2022 (edited) Hello, My site is running now with PHP Version 7.4.3, and forum Version 4.7.1. I wonder what the correct order of operation is to minimize the damage. Should I first upgrade only the server to PHP8? And only after that, the forum to 4.7.2? Edited September 26, 2022 by LiveG
Jim M Posted September 26, 2022 Posted September 26, 2022 Would advise performing our software upgrade first then when things are functioning well, perform the PHP 8 upgrade. This way you can associate anything that goes wrong and troubleshoot that more effectively. LiveG 1
LiveG Posted September 27, 2022 Author Posted September 27, 2022 (edited) Hi i am confused. PHP8 on the server is not a requirement to the software upgrade? Edited September 27, 2022 by LiveG
DamonT Posted September 27, 2022 Posted September 27, 2022 20 minutes ago, LiveG said: PHP8 on the server is not a requirement to the software upgrade? No. Right now it its only a recommendation.
Randy Calvert Posted September 27, 2022 Posted September 27, 2022 36 minutes ago, LiveG said: Hi i am confused. PHP8 on the server is not a requirement to the software upgrade? IPS currently supports 7.4.X, 8.0.X, and 8.1.X. Starting in November, PHP itself will discontinue support for all 7.X releases. At that point IPS will only support 8.X.
LiveG Posted September 27, 2022 Author Posted September 27, 2022 (edited) Thanks. Business-wise, I don't want to make any changes to my site until 1.1.2023. I can't take the risk of crashing out. The real impact for not upgrading anything is only the lack of ipb support and security updates?. Will everything keep functioning? Edited September 27, 2022 by LiveG
Solution Randy Calvert Posted September 27, 2022 Solution Posted September 27, 2022 27 minutes ago, LiveG said: Thanks. Business-wise, I don't want to make any changes to my site until 1.1.2023. I can't take the risk of crashing out. The real impact for not upgrading anything is only the lack of ipb support and security updates?. Will everything keep functioning? Correct. Your site will remain functional however there will not be access to technical support until you’re running the latest version and you may miss critical security updates. LiveG and SeNioR- 2
Marc Posted September 27, 2022 Posted September 27, 2022 It does need to be noted here that the real impact may be that if you have an issue, you are actually causing yourself more of a problem by having not updated. The warning is given in order to prompt action to find out if your 3rd party items are ready and to obtain updates if they arent. You could end up in a situation where you have an issue and find yourself having to upgrade to gain support, while not having prepared yourself. Or worse, find yourself in a situation where you end up compromised because of a security flaw that is found in PHP that isn't patched. Of course this is up to yourself. Nobody can force you to upgrade. However, the above is the real impact. LiveG 1
Claudia999 Posted November 24, 2022 Posted November 24, 2022 On 9/27/2022 at 12:24 AM, Jim M said: Would advise performing our software upgrade first then when things are functioning well, perform the PHP 8 upgrade. This way you can associate anything that goes wrong and troubleshoot that more effectively. I want to upgrade next week from 4.6.x to 4.7.x. Is this still your advice also with November update – software upgrade first and after that php8 upgrade?
Stuart Silvester Posted November 24, 2022 Posted November 24, 2022 7 minutes ago, Claudia999 said: I want to upgrade next week from 4.6.x to 4.7.x. Is this still your advice also with November update – software upgrade first and after that php8 upgrade? 4.7.4+ requires PHP 8, it will not work with PHP 7. This includes the upgrade process Claudia999 1
Randy Calvert Posted November 24, 2022 Posted November 24, 2022 Now that you MUST be on PHP8, you will want to upgrade PHP first then upgrade your IPB. Back when that was first posted, both versions were supported so it could be done that way. This is what I would do… I would first review all of your third party resources… update anything that needs updated and disable anything else (at least temporarily). Switch back to a default theme Upgrade to PHP8 Use the compatibility checker to make sure you have all of the required modules. Download the IPB files from the client area and upload them to your website. (Don’t use the auto updater.) Visit domain.com/admin/upgrade One done review resources and tenable them along with theme. mark2012 1
Claudia999 Posted November 24, 2022 Posted November 24, 2022 2 hours ago, Randy Calvert said: Download the IPB files from the client area and upload them to your website. (Don’t use the auto updater.) Why?
Randy Calvert Posted November 24, 2022 Posted November 24, 2022 1 hour ago, Claudia999 said: Why? 4.6 does not support PHP8. 4.7.4 does not support PHP7. It creates problems where you’re stuck mid way through if you use the upgrader. This way is the safest way you can do the upgrade without things breaking mid-upgrade.
Luuuk Posted November 25, 2022 Posted November 25, 2022 5 hours ago, Randy Calvert said: 4.6 does not support PHP8. Not true. From changelog for 4.6.2: Added support for PHP 8.
Randy Calvert Posted November 25, 2022 Posted November 25, 2022 If you are on 4.6.0 or 4.6.1, it’s not however. If someone says 4.6 without being specific… I generally assume 4.6.0. The safest way is to do it the way I outlined. If you don’t want to do it, feel free to do whatever you want. I would suggest making sure you have a backup right before just in case. 🙂
Marc Posted November 25, 2022 Posted November 25, 2022 6 hours ago, Randy Calvert said: I would suggest making sure you have a backup right before just in case. Always 🙂
LiveG Posted July 16, 2023 Author Posted July 16, 2023 (edited) Hi My forum is currently running Invision Community v4.7.1 with PHP Version 7.4.3-4ubuntu2.19. As the first step, Is it safe to upgrade to PHP8 and remain on Invision Community v4.71? @Marc Stridgen @Randy Calvert something will be disable in this situation? Edited July 16, 2023 by LiveG
Jim M Posted July 16, 2023 Posted July 16, 2023 3 hours ago, LiveG said: Is it safe to upgrade to PHP8 and remain on Invision Community v4.71? You can upgrade to PHP 8.0 or 8.1 and be on 4.7.1, yes. However, you would want to review your third-party applications, plugins, and theme(s) for compatibility.
LiveG Posted July 16, 2023 Author Posted July 16, 2023 (edited) Ok, but there is no compatibility check that shuts down apps. Am i right? Edited July 16, 2023 by LiveG
Miss_B Posted July 16, 2023 Posted July 16, 2023 2 minutes ago, LiveG said: Ok, but there is no compatibility check that shuts down apps. Am i right? What do you mean by compatibility check that shutting down apps?
Nathan Explosion Posted July 16, 2023 Posted July 16, 2023 (edited) 7 minutes ago, Miss_B said: What do you mean by compatibility check that shutting down apps? The PHP scanner introduced in a slightly later version of 4.7.x (which will effectively answer the question asked due to it not existing in 4.7.1) Edited July 16, 2023 by Nathan Explosion Miss_B and LiveG 1 1
Recommended Posts