• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Upgrade to PHP8

Scheduled Pinned Locked Moved Unsolved
Linux Problems
2
4
391
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    leonjv
    last edited by Feb 7, 2024, 2:19 PM

    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

    T 1 Reply Last reply Feb 7, 2024, 5:39 PM Reply Quote 0
    • T
      Tom Elliott @leonjv
      last edited by Feb 7, 2024, 5:39 PM

      @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?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • L
        leonjv
        last edited by Feb 8, 2024, 8:18 AM

        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.

        L 1 Reply Last reply Feb 8, 2024, 9:52 AM Reply Quote 0
        • L
          leonjv @leonjv
          last edited by Feb 8, 2024, 9:52 AM

          @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 ?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            3/4
            Last post

          197

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project