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

Installation - Centos 7 & PHP 7?

Scheduled Pinned Locked Moved Solved
Linux Problems
4
14
2.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.
  • A
    ablohowiak
    last edited by May 14, 2018, 6:31 PM

    Thanks Wayne.

    I was trying to get some other programs installed before fog. I’ll try it the other way.

    W 1 Reply Last reply May 14, 2018, 6:33 PM Reply Quote 0
    • W
      Wayne Workman @ablohowiak
      last edited by May 14, 2018, 6:33 PM

      @ablohowiak You’re welcome, and no big deal. Your question will help someone in the future.

      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
      • Q
        Quazz Moderator
        last edited by May 15, 2018, 3:03 PM

        There are no PHP7 packages in the official Centos repos I believe, so FOG won’t automatically sort it out for you.

        On OS that does have official PHP7 packages, FOG will attempt to install those during installation.

        W 1 Reply Last reply May 15, 2018, 3:26 PM Reply Quote 0
        • W
          Wayne Workman @Quazz
          last edited by May 15, 2018, 3:26 PM

          @quazz It does setup PHP 7 using the Remi repository.

          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/

          Q A 2 Replies Last reply May 15, 2018, 3:38 PM Reply Quote 1
          • Q
            Quazz Moderator @Wayne Workman
            last edited by May 15, 2018, 3:38 PM

            @wayne-workman I stand corrected 🙂

            1 Reply Last reply Reply Quote 1
            • A
              ablohowiak @Wayne Workman
              last edited by May 16, 2018, 8:21 PM

              @wayne-workman
              I started with a basic web server install for Centos 7 and the downloaded and installed fog 1.5.2. I added a info.php page to check the php version and it showed PHP Version 5.6.36.

              Here’s a listing of the enabled repositories after the install.

              0_1526501995490_d72f4fc8-c1ee-4c29-8349-84fd0674dd40-image.png

              So do I need to start with a minimal install?

              T 1 Reply Last reply May 16, 2018, 8:47 PM Reply Quote 0
              • T
                Tom Elliott @ablohowiak
                last edited by May 16, 2018, 8:47 PM

                @ablohowiak if you install fog initially, remi repos are installed but for red hat based installs it defaults to 5.6. If you disable the php-56 repo style, and enable the php72 repo and run update you will have php 7.2 install

                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

                Q 1 Reply Last reply May 17, 2018, 9:22 AM Reply Quote 0
                • W
                  Wayne Workman
                  last edited by Wayne Workman May 16, 2018, 3:18 PM May 16, 2018, 9:18 PM

                  Well now I stand corrected. It wasn’t always that way. @Tom-Elliott if FOG is not setting up php 7 on CentOS 7, then why even bother with installing the remi repo?

                  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/

                  T 1 Reply Last reply May 17, 2018, 1:14 AM Reply Quote 0
                  • T
                    Tom Elliott @Wayne Workman
                    last edited by May 17, 2018, 1:14 AM

                    @wayne-workman because fog requires at least 5.6 and centos 7 defaults to 5.4

                    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
                    • Q
                      Quazz Moderator @Tom Elliott
                      last edited by May 17, 2018, 9:22 AM

                      @tom-elliott I tried this because I was curious. It turns out that in PHP 7.2, the mcrypt package is php-pecl-mcrypt as opposed to php-mcrypt. Installation works as the system correctly identifies it anyway, but then FOG update fails because it can’t find php-mcrypt installed.

                      I’m on FOG 1.5.2 currently, Centos 7.

                      Would have made a new thread, but this seems relevant enough to keep it in here.

                      T 1 Reply Last reply May 17, 2018, 2:15 PM Reply Quote 0
                      • T
                        Tom Elliott @Quazz
                        last edited by May 17, 2018, 2:15 PM

                        @quazz php-mcrypt should no longer be needed with php-72 as we modified the code that used mcrypt to use OpenSSL. The only reason php-mcrypt was left in place was for legacy reasons. If you modify the packages line in the fogsettings file simply removing pho-mcrypt from the list you should have no problems.

                        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

                        Q 1 Reply Last reply May 17, 2018, 2:32 PM Reply Quote 0
                        • Q
                          Quazz Moderator @Tom Elliott
                          last edited by May 17, 2018, 2:32 PM

                          @tom-elliott Cool, that worked perfectly 🙂

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

                          167

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project