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

Update Fails on php7.0-*

Scheduled Pinned Locked Moved Solved
FOG Problems
3
11
4.8k
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.
  • Q
    Quazz Moderator
    last edited by Jan 14, 2016, 3:27 PM

    What does it say when you try to manually install the libapache for php7?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 14, 2016, 3:41 PM

      @scottb did you edit these files yourself?

      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

      S 1 Reply Last reply Jan 14, 2016, 3:42 PM Reply Quote 0
      • S
        Scott B @Tom Elliott
        last edited by Jan 14, 2016, 3:42 PM

        @Tom-Elliott said:

        @scottb did you edit these files yourself?

        The fog install? No.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jan 14, 2016, 3:44 PM

          Did the lines in /opt/fog/.fogsettings get edited to use php7? I don’t set things to php7.

          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

          S 1 Reply Last reply Jan 14, 2016, 3:47 PM Reply Quote 0
          • S
            Scott B @Tom Elliott
            last edited by Jan 14, 2016, 3:47 PM

            @Tom-Elliott said:

            Did the lines in /opt/fog/.fogsettings get edited to use php7? I don’t set things to php7.

            in .fogsettings I see this line.

            packages=" apache2 php7.0 php7.0-*libapache2-mod-php7.0";
            
            T 1 Reply Last reply Jan 14, 2016, 4:30 PM Reply Quote 0
            • T
              Tom Elliott @Scott B
              last edited by Jan 14, 2016, 4:30 PM

              @Scott-B do you know who did edit this?

              Especially considering the .fogsettings is now saying it only installs three files, and really I believe it’s supposed to be 4 files, but they made a typo in this file.

              packages=" apache2 php7.0 php7.0-* libapache2-mod-php7.0";
              

              I imagine is what is supposed to be there, but really that shouldn’t be their either. None of the installer files are using php7 formatted files, they’re all (unfortunately) still trying to use php5 formatted binary runs. (php5enmod vs. php7enmod) That much more reasoning that I hate ubuntu, and I suppose debian for assuming php5 was all there was going to be.

              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
              • S
                Scott B
                last edited by Jan 14, 2016, 5:47 PM

                I was able to get PHP7 installed, but now the install fails setting up apache and php. Looking for PHP5, which wouldn’t the install have just removed?

                * Updating packages as needed.................................OK
                
                                        Confirming package installation.
                
                 * Checking package: apache2...................................OK
                 * Checking package: php7.0....................................OK
                 * Checking package: php7.0-*..................................OK
                 * Checking package: libapache2-mod-php7.0.....................OK
                
                                             Configuring services.
                
                 * Stopping FOGMulticastManager Service........................OK
                 * Stopping FOGImageReplicator Service.........................OK
                 * Stopping FOGSnapinReplicator Service........................OK
                 * Stopping FOGScheduler Service...............................OK
                 * Stopping FOGPingHosts Service...............................OK
                 * Setting up and starting MySQL...............................OK
                 * Backing up user reports.....................................OK
                 * Stopping web service........................................OK
                 * Setting up Apache and PHP files.............................Failed
                                  ###########################################
                                  #                                         #
                                  #      PHP Failed to install properly     #
                                  #                                         #
                                  ###########################################
                 !!!!! Could not find /etc/php5/apache2/php.ini !!!!!
                
                T 1 Reply Last reply Jan 14, 2016, 5:53 PM Reply Quote 0
                • T
                  Tom Elliott @Scott B
                  last edited by Jan 14, 2016, 5:53 PM

                  @Scott-B do you see why?

                  It’s trying to edit the file /etc/php5/apache2/php.ini which would, in your case, be now /etc/php7/apache2/php.ini (assuming ubuntu is following the same pattern)

                  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

                  S 1 Reply Last reply Jan 14, 2016, 6:48 PM Reply Quote 0
                  • S
                    Scott B @Tom Elliott
                    last edited by Jan 14, 2016, 6:48 PM

                    @Tom-Elliott said:

                    @Scott-B do you see why?

                    It’s trying to edit the file /etc/php5/apache2/php.ini which would, in your case, be now /etc/php7/apache2/php.ini (assuming ubuntu is following the same

                    I see what its doing, but I don’t understand why. The installed just removed php5, installed php7, so why is it looking for php5?

                    T 1 Reply Last reply Jan 14, 2016, 7:59 PM Reply Quote 0
                    • T
                      Tom Elliott @Scott B
                      last edited by Jan 14, 2016, 7:59 PM

                      @Scott-B What I’m saying, somebody edited something in the code.

                      I’m not enforcing any PHP 7 anywhere.

                      Edit the /opt/fog/.fogsettings file and remove the packages line. Then try re-installing. Maybe it’ll work better?

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

                      169

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project