Upgrade to PHP8
-
We are running FOG 1.5.4 on Redhat8 server with a separate mysqldb server. Currently we have php v 7.2.24 installed. The idea is to upgrade php to v 8.x . The question is can the upgrade be done without breaking the current fog installation ( I mean we can stop the server - upgrade php - start the server) I did not see a procedure in the wiki how to do this
-
@leonjv If you’re upgrading, you shoudl upgrade FOG itself too.
There’s not a “process” to update the PHP seperate from the fog installation.
However, this is on purpose.
Think of it:
FOG 1.5.4 being written on PHP 7 (just for example), PHP 8 is likely going to have deprecated features that PHP 7 does not, and 1.5.4 was written for 1.5.4. Make sense?
-
Thank you for the response Tom. Much appreciated. So I would think that preparing a new server with same specifications as the current server but with an upgraded php and FOG would be the better option.
-
@Tom-Elliott I made a mistake – Our current FOG version is actually 1.5.9 but the php version is still 7.2.24. Would that change the possibilities of a PHP upgrade ?