Jump to content

php8 upgrade


Go to solution Solved by Randy Calvert,

Recommended Posts

Posted (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 by LiveG
Posted

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. 

Posted
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. 

Posted (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 by LiveG
  • Solution
Posted
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. 

Posted

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.

  • 1 month later...
Posted
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?

Posted

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. 

Posted
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. 

Posted

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. 🙂 

  • 7 months later...
Posted (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 by LiveG
Posted
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. 

Posted
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? 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...