PHP versions weirdness

joshg

Active member
I'm trying to figure out why my forum (v2.3.4) works fine on PHP 8.1, but immediately is completely unreachable when i go to 8.2 or 8.3 via cpanel at my host. versions 7.x also work fine... but i can't seem to use anything later than 8.1

My admin panel says 8.3 is recommended, so clearly .2 and .3 are supported.

Anyone have a theory what could be causing this?
 
Also depends what packages you have active under the php versions. If you're missing a certain package (see MultiPHP Manager), then it can't be loaded.
 
Also enable logging and check the error_log... its probably a PHP error.
thank you. i'm pretty much a novice. how do i enable logging? something in ACP or something at my host i need to turn on like in cpanel or something?
 
Also depends what packages you have active under the php versions. If you're missing a certain package (see MultiPHP Manager), then it can't be loaded.
YES, this was it @CedricV, thank you!
Bizarre that when you switch PHP versions within cPanel at GoDaddy, ALL the packages I had installed selected for 8.1 go away. I had to go back to 8.1, take a screenshot of the enabled packages (like 20 of them), and then go to 8.3 and re-enable every single one of them.

You'd think that the cpanel interface for PGP packages would do its best to re-enable the packages you had previously enabled when you switch to a newer PHP version!

Once I got all the packages re-enabled, my forum instantly came back and worked perfectly. Documenting this here in case others with the problem find their way to this thread.

Thanks again @CedricV
 
thanks... ok, will try this at a time that is quieter on my forum. am surprised style templates can affect this, but will try.
Disabled all add-ons. Site still didn't work. Turns out it was PHP packages that were DEselected when I went from 8.1 to 8.3. Had to re-enable a whole bunch of selectable php packages that were on in 8.1 but cleared when i switched to 8.3
 
I've got cPanel and if I add a newer php version it gives the option of adding all the previous version's packages.
(Not with GoDaddy though)
 
Had to re-enable a whole bunch of selectable php packages that were on in 8.1 but cleared when i switched to 8.3
Yeah, I noticed that when I used to manage my own server. Such an easy thing to miss with such a big consequence lol. Glad it's fixed now.
 
I've got cPanel and if I add a newer php version it gives the option of adding all the previous version's packages.
(Not with GoDaddy though)
yeah... i have to get off of GoDaddy. I'm in process of evaluating KnownHost as a better choice in hosting.
 
Back
Top Bottom