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

FOG 1.2 and PHP7

Scheduled Pinned Locked Moved
FOG Problems
5
11
3.3k
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.
  • D
    Darrell Lanson
    last edited by Jun 6, 2016, 5:44 PM

    Will FOG 1.2 work with PHP7 I installed Ubuntu 16.04 without realising there were no PHP5 packages. if not its not a big deal I can install an older version of Ubuntu to get it working.

    Ubuntu 14.04.5 LTS 64bit
    Fog 1.5.3

    G 1 Reply Last reply Jun 6, 2016, 6:12 PM Reply Quote 0
    • W
      Wayne Workman
      last edited by Jun 6, 2016, 5:46 PM

      Most likely it will not work, not due to PHP7 but due to MySQL issues. FOG 1.2.0 used some calls that newer MySQL doesn’t work with. These are corrected for in FOG Trunk.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator @Darrell Lanson
        last edited by george1421 Jun 6, 2016, 12:16 PM Jun 6, 2016, 6:12 PM

        @Darrell-Lanson The current recommendation for ubuntu is 14.04 LTS max for now. As Wayne noted there are more issues with 16.04 than just php incompatibilities.

        Also I would not expect 1.2.0 stable to support 16.04 at any time in the future. FOG 1.3.0 is near ready for release. If you want 16.04 support then I would look towards FOG 1.3.0 (not immediately upon release though). The devs are working hard to get 1.3.0 released under the currently supported systems.

        [edit] @Wayne-Workman I can’t seem to find the wiki page with the supported FOG server operating systems. I was just doing some fact checking to ensure the devs haven’t updated support and that page is running from me today.

        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!

        W 1 Reply Last reply Jun 6, 2016, 6:27 PM Reply Quote 0
        • W
          Wayne Workman @george1421
          last edited by Jun 6, 2016, 6:27 PM

          @george1421 1.2.0 will run on CentOS 6 and 7, Ubuntu 12 through 14, Debian 7, derivatives thereof, and maybe others… I’m just going off of what I’ve read in the forums. Trunk will run on CentOS 7, Debian 8, Ubuntu 12 - 16, Fedora 21 - 23, derivatives, and probably a lot of others.

          I guess we should have a page listing what versions support what.

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          G 1 Reply Last reply Jun 6, 2016, 6:32 PM Reply Quote 0
          • G
            george1421 Moderator @Wayne Workman
            last edited by Jun 6, 2016, 6:32 PM

            @Wayne-Workman There was a wiki page that listed these. Tom posted the (official) supported systems and you updated the page. I saw it at least once.

            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!

            W 1 Reply Last reply Jun 6, 2016, 6:43 PM Reply Quote 0
            • W
              Wayne Workman @george1421
              last edited by Jun 6, 2016, 6:43 PM

              @george1421 This is the closest thing I’ve found. It’s not definitive, just a list of recommended ones: https://wiki.fogproject.org/wiki/index.php?title=Installation#Requirements

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Jun 6, 2016, 7:13 PM

                FOG 1.2 might work with php 7, though I’m not sure as I am FAR FAR ahead of where 1.2.0 was.

                To my knowledge, it will break things all over considering php 7 stopped allowing static calls via non-static defined methods. This only impacts multicast.

                To get things to just work (so they display) should be relatively simple though.

                In /var/www/html/fog/commons/init.php line number 96, comment it with //.

                In /var/www/html/fog/lib/db/MySQL.class.php line number 247. Make it read as:
                return strpos($data,'\\')) ? $this->link->escape_string(stripslashes($data)) : $this->link->escape_string($data);

                That should get display working on php 7. I don’t know where else may be problemattic though.

                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

                G 1 Reply Last reply Jun 6, 2016, 7:24 PM Reply Quote 1
                • G
                  george1421 Moderator @Tom Elliott
                  last edited by Jun 6, 2016, 7:24 PM

                  @Tom-Elliott OR we could recommend to stay at max of Ubuntu 14.04 until fog 2.0 comes out?? (said with a sheepish grin)

                  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!

                  1 Reply Last reply Reply Quote 0
                  • D
                    Darrell Lanson
                    last edited by Jun 6, 2016, 7:36 PM

                    Yeah as I type this I am downloading 14.04 than I can get stuff setup and take to our other location. Can’t wait to see 1.3 you guys are doing some amazing work.

                    Ubuntu 14.04.5 LTS 64bit
                    Fog 1.5.3

                    C 1 Reply Last reply Jun 7, 2016, 9:51 AM Reply Quote 0
                    • W
                      Wayne Workman
                      last edited by Jun 6, 2016, 7:40 PM

                      Ubuntu 16 works fine with FOG Trunk, not hard at all to get going, if you know how to copy/paste: https://forums.fogproject.org/topic/7131/fog-on-ubuntu-16-04-php7/26

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • C
                        ch3i Moderator @Darrell Lanson
                        last edited by Jun 7, 2016, 9:51 AM

                        @Darrell-Lanson said in FOG 1.2 and PHP7:

                        Can’t wait to see 1.3

                        Install the trunk version lol

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        1 / 1
                        • First post
                          8/11
                          Last post

                        157

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project