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

FOG Install PHP Failed

Scheduled Pinned Locked Moved
FOG Problems
3
7
746
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 Aug 8, 2022, 4:41 AM

    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

    J W 3 Replies Last reply Aug 8, 2022, 7:42 PM Reply Quote 0
    • J
      JJ Fullmer Testers @DrewGAU
      last edited by Aug 8, 2022, 7:42 PM

      @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 Aug 8, 2022, 11:14 PM Reply Quote 0
      • J
        JJ Fullmer Testers @DrewGAU
        last edited by Aug 8, 2022, 7:43 PM

        @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 Aug 8, 2022, 11:14 PM

          @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 Aug 8, 2022, 11:28 PM

            @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
            • W
              Wayne Workman @DrewGAU
              last edited by Aug 8, 2022, 11:31 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • D
                DrewGAU
                last edited by Aug 9, 2022, 8:24 AM

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

                184

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project