John McKee Posted October 26 Posted October 26 We are getting this message . BUT we have also been told that we CANNOT upgrade to higher PHP as it would damage our forum site, told this by our hosts https://www.inmotionhosting.com/. Anyone else having this issue, we are scared to move up to php 8.0 in case we lose our forum, any help would be appreciated.
teraßyte Posted October 26 Posted October 26 What Invision Community version are you using? The latest 4.7.x version supports both PHP 8.0 and 8.1.
John McKee Posted October 26 Author Posted October 26 2 minutes ago, teraßyte said: What Invision Community version are you using? The latest 4.7.x version supports both PHP 8.0 and 8.1. Thank you for the quick response, silly question, where will I find my version ?
Gary Posted October 26 Posted October 26 Just now, John McKee said: Thank you for the quick response, silly question, where will I find my version ? Hi @John McKee, You can find what version of Invision Community you are using by going to you AdminCP -> System -> Support -> Get Support. That page will give you the version you're using, as well as other important information such as issues with your PHP or Database. John McKee 1
John McKee Posted October 26 Author Posted October 26 1 minute ago, Gary said: Hi @John McKee, You can find what version of Invision Community you are using by going to you AdminCP -> System -> Support -> Get Support. That page will give you the version you're using, as well as other important information such as issues with your PHP or Database. Version 4.7.3 When we try to upgrade we get this message .............. 1C287/2 You are running PHP version 7.4.33. You need PHP 8.0.0 or above. You should contact your hosting provider or system administrator to ask for an upgrade.
teraßyte Posted October 26 Posted October 26 Ok, based on the message your host can indeed update your account to use PHP 8.0. Once the PHP version is changed the forum will keep working and the message will go aways.
John McKee Posted October 26 Author Posted October 26 Just now, teraßyte said: Ok, based on the message your host can indeed update your account to use PHP 8.0. Once the PHP version is changed the forum will keep working and the message will go aways. We were told that we cannot do this...was that person talking nonsense? thanks
teraßyte Posted October 26 Posted October 26 Just now, John McKee said: We were told that we cannot do this...was that person talking nonsense? thanks Maybe the server you're on doesn't have PHP 8.0 available as a version? Otherwise switching to PHP 8.0 won't break the forum. Maybe they misread that message and think PHP 8.0 will break it instead? 🤨
John McKee Posted October 26 Author Posted October 26 3 minutes ago, teraßyte said: Maybe the server you're on doesn't have PHP 8.0 available as a version? Otherwise switching to PHP 8.0 won't break the forum. Maybe they misread that message and think PHP 8.0 will break it instead? 🤨 I believe our hosts allow us to move up to php 8.0 in our Cpanel ..What if it does not work for us, can we revert back to a lower php until the issue is resolved. I have contacted InMotion, but they are a bit slow to respond. Thanks for your input, appreciated indeed.
Gary Posted October 26 Posted October 26 It is always advised to get a backup of your community (especially the database) in case something pops up after your PHP upgrade. If you do encounter major issues or your community just doesn't work anymore, you can always drop back to the previous PHP version you had and have a backup of your community to revert to. John McKee 1
Adlago Posted October 26 Posted October 26 (edited) 7 minutes ago, John McKee said: I believe our hosts allow us to move up to php 8.0 in our Cpanel ..What if it does not work for us, can we revert back to a lower php until the issue is resolved. I have contacted InMotion, but they are a bit slow to respond. Thanks for your input, appreciated indeed. If your site only uses an IPS platform - switching to PHP 8.0 will not create an issue for you, only a performance improvement. If an issue still occurs - in cPanel you can easily revert to a lower version PHP Edited October 26 by Adlago
John McKee Posted October 26 Author Posted October 26 Just now, Adlago said: If your site only uses an IPS platform - switching to PHP 8.0 will not create an issue for you, only a performance improvement. If an issue still occurs - in cPanel you can easily revert to a lower version PHB May I ask how I would find if I use IPS platform ? I'm looking through my C panel as I write..Thanks
Adlago Posted October 26 Posted October 26 5 minutes ago, John McKee said: May I ask how I would find if I use IPS platform ? I'm looking through my C panel as I write..Thanks I have come across sites where the IPS suite is used only for a forum, and the rest of the site is developed with other software, ie. you are now using IPS version 4.7.3 - and you can use PHP 8.0 with it, but is your whole site built with this software only, or do you have something else?
John McKee Posted October 26 Author Posted October 26 2 minutes ago, Adlago said: I have come across sites where the IPS suite is used only for a forum, and the rest of the site is developed with other software, ie. you are now using IPS version 4.7.3 - and you can use PHP 8.0 with it, but is your whole site built with this software only, or do you have something else? In all honesty, I do not know. The person who done the site is no longer with us. I'm a bit in the dark here. Looking at c panel for info. If it helps we are a forum only we do not have a"website" as such
Adlago Posted October 26 Posted October 26 Just now, John McKee said: In all honesty, I do not know. The person who done the site is no longer with us. I'm a bit in the dark here. Looking at c panel for info. If it helps we are a forum only we do not have a"website" as such Sometimes a 3rd party plugin can give you an issue when changing the PHP version - check in ACP if you are using 3rd party plugins
John McKee Posted October 26 Author Posted October 26 3 minutes ago, Adlago said: Sometimes a 3rd party plugin can give you an issue when changing the PHP version - check in ACP if you are using 3rd party plugins I take it that is my C Panel....how would I know if there are plug ins...sorry for being a bit vague
Gary Posted October 26 Posted October 26 (edited) The suggestion of checking whether you have any plugins would be on Invision Community, in your AdminCP. Is the community running any custom plugins or modifications? Edited October 26 by Gary John McKee 1
Adlago Posted October 26 Posted October 26 5 minutes ago, John McKee said: I take it that is my C Panel....how would I know if there are plug ins...sorry for being a bit vague No, not that - cPanel is a tool for settings in the server where your site is hosted. ACP is an administrator panel of the IPS suite - i.e. of your site software. .Next, log in as an administrator in ACP and find Plugins and see if you have such plugins uploaded and enabled there John McKee 1
John McKee Posted October 26 Author Posted October 26 2 minutes ago, Gary said: The suggestion of checking whether you have any plugins would be on Invision Community, in your AdminCP. Is the community running any custom plugins or modifications? Ahhh I will go and look, thank you.
Adlago Posted October 26 Posted October 26 18 minutes ago, John McKee said: Ahhh I will go and look, thank you. Your plugin is disabled ie. is not used. So feel free to log into your cPanel and switch to a PHP version of at least 8.0 John McKee 1
John McKee Posted October 26 Author Posted October 26 Gents , thanks very much for your help, much appreciated. Will post how I get on.
John McKee Posted October 26 Author Posted October 26 Guys, I did as you said . I moved to PHP 8.0 and our site / forum would not load. Had to revert back to older version . InMotion said " just apply PHP 8.0" I've messaged them to ask for help. Thank you. If it's any help for you to see our issues here is what I have
teraßyte Posted October 27 Posted October 27 (edited) Based on your screenshots, you have no 3rd party modifications installed. The only plugin you have is disabled, so switching to PHP 8.0 shouldn't cause any issues. The only thing I can think of is that the PHP 8.0 version is not compiled with all the required modules. Switch again to PHP 8.0 and use this script to verify the PHP version meets all requirements: If the script returns any errors, ask your hosting to fix them. If the script passes all checks, and you're unsure how to proceed, it would probably be best to hire a 3rd party Provider to look into it. While you're at it, you can also look into updating to the latest version since you're ~15 versions behind. Edited October 27 by teraßyte Fixed requirements checker link
John McKee Posted October 27 Author Posted October 27 Thanks gentlemen, but the above is way over my head..I wish we could upgrade from the 15 versions behind....but we keep getting the error about php...Thanks anyway, much appreciated. I'll put it to InMotion to fix.
Recommended Posts