Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted Thursday at 09:48 AM5 days Why does my php version always revert to 8.1?This line of code is added to .htaccess.# php -- BEGIN cPanel-generated handler, do not edit# Set the “ea-php81” package as the default “PHP” programming language.<IfModule mime_module>AddHandler application/x-httpd-ea-php81 .php .php8 .phtml</IfModule># php -- END cPanel-generated handler, do not editIn cPanel, the PHP version is set to 8.4.If I delete the code today, then a few days later it is added again. Is this because I installed the beta version?My current .htaccess Edited Thursday at 09:50 AM5 days by Paras
Thursday at 09:51 AM5 days I don't think that Ipb is adding that code by the looks of it. You can contact your host to check their logs so they will be able to tell you more on the matter.
Thursday at 10:03 AM5 days Author I've contacted my hosting provider, they said it's been fixed, but this keeps happening. So, I think it has something to do with Invision, but I'm not too sure.
Thursday at 11:15 AM5 days This is something you need to take up with your hosting company. We would not do anything at all with your PHP configuration.
Thursday at 11:25 AM5 days I've contacted my hosting provider, they said it's been fixed, but this keeps happening. So, I think it has something to do with Invision, but I'm not too sure.You have 2 instances of php versions there. Can you try to remove the one for php 8.1. and see if the php version will still revert back? There is nothing in Ipb code to cause the revert of the php version. Did you host say how the revert happened in the first place and how did they fix it?
Thursday at 11:59 AM5 days Author You have 2 instances of php versions there. Can you try to remove the one for php 8.1. and see if the php version will still revert back? There is nothing in Ipb code to cause the revert of the php version. Did you host say how the revert happened in the first place and how did they fix it?I have removed the php81 line of code.He said apachephp, something like that.
Thursday at 12:21 PM5 days Does your Cpanel have the MultiPHP Manager app? You could try using MultiPHP Manager app to change the PHP version.
Friday at 09:24 AM4 days Author @beats23 No, I don't have MultiPHP.Is it possible that this is caused by a third party app? The only one installed is Quizzes by @Adriano Faria
Friday at 09:27 AM4 days @beats23 No, I don't have MultiPHP.Is it possible that this is caused by a third party app? The only one installed is Quizzes by @Adriano FariaIt is very very very unlikely anything public facing is causing this, and if it is then your hosting would need to be looked at, as nothing should be able to switch a PHP version.
Friday at 09:41 AM4 days Author It is very very very unlikely anything public facing is causing this, and if it is then your hosting would need to be looked at, as nothing should be able to switch a PHP version.This morning I got an HTTP 500 error.Oddly enough after I deleted the Quizzes app, the problem was solved. Is this a coincidence? Edited Friday at 09:45 AM4 days by Paras
Friday at 10:07 AM4 days I got an HTTP 500 error.For future reference, whenever you get this type of error , check the server error log page as it can contain details as to what caused it.