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

    FOG Install PHP Failed

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    7
    728
    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
      DrewGAU
      last edited by

      Hi there
      Haven’t isntalled or used FOG for a while so forgive me if I am doing something wrong here…

      Attempting to install FOG Server on Ubuntu Server 22.04 LTS (have tried on Debian and CentOS too - same issue) and receiving a ‘PHP Failed to Install Properly’ error (see below).
      PHPFailed.png

      First I received an error because ‘php-gettext’ package could not be found but bypassed that by using the -X argument.

      Any advice or guidance would be greatly appreciated.
      Thank you! 🙂

      Drew

      JJ FullmerJ Wayne WorkmanW 3 Replies Last reply Reply Quote 0
      • JJ FullmerJ
        JJ Fullmer Testers @DrewGAU
        last edited by

        @drewgau There may be some sort of package or repo pre-requiste you’re missing. It also says it failed to stop the web service in your screenshot, did apache/httpd not get installed either. Is apt-get/yum working to install normal packages?

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        D 2 Replies Last reply Reply Quote 0
        • JJ FullmerJ
          JJ Fullmer Testers @DrewGAU
          last edited by

          @drewgau Also, fog isn’t supported on Ubuntu 22.04 because of a PHP 8 incompatibility. So for Ubunutu, 20.04 is the latest supported version.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          1 Reply Last reply Reply Quote 0
          • D
            DrewGAU @JJ Fullmer
            last edited by

            @jj-fullmer Thanks for your reply mate.
            The first question I am asked is to uninstall apache and php (error is the same if I press Y or N).
            It looks as though apache installs but there is an issue installing PHP because the php7.1 package does not exist.
            I have attached the full output. Thanks so much for your help!

            DrewFOGInstall.txt

            1 Reply Last reply Reply Quote 0
            • D
              DrewGAU @JJ Fullmer
              last edited by

              @jj-fullmer apt-get is working for other packages.
              I’ve tried on Ubuntu 16.04.7 and it has the same issue. Also CentOS.

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • D
                  DrewGAU
                  last edited by

                  Hi there
                  I created a fresh VM with Ubuntu 20.04 and was able to get FOG up and running. Thanks for all your help! 🙂

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

                  216

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project