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

    php7 not recognized

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    5
    1.4k
    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.
    • T
      Tumulus
      last edited by Tumulus

      I am trying to install the newest “stable release” of FOG onto a 16.40 Ubuntu machine (running lubuntu). The install seems to go just fine at first, but when I get to the point where it checks the packages it fails at php5-json:

      • Checking Package: php5-json…Failed!

      I have installed the php packages in terminal and if I check the packages I have installed, php7.0-json shows up. I have tried to install php5, but it says that it is referred to by another package (I would assume php7.0). I also just installed the “php-json” package and that had no effect either.

      Any idea how I can get around this error?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        Please check the FOG installer log in fogproject/bin/error_log/fog_<version>…

        I am wondering if you are aware of the wiki article on 16.04?

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          Try running the installer but as:
          php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y

          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
          • T
            Tumulus
            last edited by

            Well, I tried @Tom Elliott’s suggestion to no avail. I did know about the wiki, and I understand that there are issues with the newest version and that it will not be the most stable or reliable. I configured the php according to the wiki. It just wasn’t working really well so I wondered if there was a quick solution.

            For now I think we’ll just go back to a previous version of Ubuntu.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Tumulus
              last edited by

              @Tumulus You’re fine, FOG runs on Ubuntu 16 just fine. You simply run the installer as tom said, and everything is just-fine.

              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
              • 1 / 1
              • First post
                Last post

              159

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project