XF 2.2 PHP version randomly changed?

jul

Well-known member
Hello all,

So, never experienced this before but... Recently I changed everything to PHP8.0, meaning on both WHM and C-Panel, the subdomain (of forum installation) is listed/assigned/set using PHP8.0. I added all the needed extensions and checked the forums. Everything went well, no errors. On the forums admin page, the PHP version was correctly shown as PHP8.0. Now fast-forward a few days later it is set back to PHP7.4.

I thought perhaps something has changed in WHM or C-Panel but that was not the case. In the WHM and C-Panel MultiPHP Manager, it is set to PHP8.0 yet my Xenforo admin panel says it's PHP7.4.

Any idea how this is possible?
 
XF has no control over the PHP version on the server.

If the XF ACP is reporting it as version 7.4, then that is what is being served to XF.

Your host may be able to assist and answer as to how the version has reverted.
 
I found the issue, the installation of my Xenforo is in a subfolder. The PHP that is installed in the main folder/domain changes every subfolder as well regardless if the subfolders were set to a different PHP version.
 
Top Bottom