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

    Installation - Centos 7 & PHP 7?

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    4
    14
    2.5k
    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.
    • Wayne WorkmanW
      Wayne Workman @ablohowiak
      last edited by Wayne Workman

      @ablohowiak Don’t pre-install anything, the FOG Installer does all of that for you (php 7). Refer to this guide: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7
      Get the fog server going using the instructions we have written - because this is what we are familiar with and what we are able to support. After that, you can do whatever you want.

      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
      • A
        ablohowiak
        last edited by

        Thanks Wayne.

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

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

          @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

            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.

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

              @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 Reply Quote 1
              • Q
                Quazz Moderator @Wayne Workman
                last edited by

                @wayne-workman I stand corrected 🙂

                1 Reply Last reply Reply Quote 1
                • A
                  ablohowiak @Wayne Workman
                  last edited by

                  @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?

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @ablohowiak
                    last edited by

                    @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 Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by Wayne Workman

                      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/

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Wayne Workman
                        last edited by

                        @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

                          @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.

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @Quazz
                            last edited by

                            @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 Reply Quote 0
                            • Q
                              Quazz Moderator @Tom Elliott
                              last edited by

                              @tom-elliott Cool, that worked perfectly 🙂

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

                              188

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.4k

                              Posts
                              Copyright © 2012-2024 FOG Project