ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    PHP Upgrade (Nextcloud)

    IT Discussion
    6
    23
    164
    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.
    • brandon220
      brandon220 last edited by

      When upgrading PHP from Version 7.2 to 7.3 to meet the requirements of Nextcloud - Is there a preferred method to doing this as it relates to NC? I know going from the current version (19.x) to (20.x) will require it. It has been a while since I have done a PHP upgrade and don't want to cause any issues. I do not remember the version change that required upgrades to PHP the last time.

      scottalanmiller 3 Replies Last reply Reply Quote 0
      • JaredBusch
        JaredBusch last edited by

        Are you on a distro with poor PHP choices (CentOS)?

        How are you getting PHP 7.2 in the first place?

        brandon220 1 Reply Last reply Reply Quote 0
        • scottalanmiller
          scottalanmiller @brandon220 last edited by

          @brandon220 said in PHP Upgrade (Nextcloud):

          When upgrading PHP from Version 7.2 to 7.3 to meet the requirements of Nextcloud

          We've had NextCloud on 7.4 for a while now.

          1 Reply Last reply Reply Quote 0
          • scottalanmiller
            scottalanmiller @brandon220 last edited by

            @brandon220 said in PHP Upgrade (Nextcloud):

            Is there a preferred method to doing this as it relates to NC?

            No,in all cases, you stop it, updated PHP, you start it. That's it.

            brandon220 1 Reply Last reply Reply Quote 1
            • scottalanmiller
              scottalanmiller @brandon220 last edited by

              @brandon220 said in PHP Upgrade (Nextcloud):

              I do not remember the version change that required upgrades to PHP the last time.

              We always push to keep PHP as up to date as possible because it tends to bring security and performance improvements.

              1 Reply Last reply Reply Quote 0
              • brandon220
                brandon220 @JaredBusch last edited by brandon220

                @JaredBusch Fedora Server. Just taking a wild guess now, but it may still be on 29. That may be the issue. It does not belong to me (server or NC instance). A friend of mine had a question about sharing permissions and had me log in as them. I noticed it was on 19 but had php warnings. Will probably end up helping them fix it.

                I don't remember having to manually upgrade php on any of my NC installs which are all on F32 now but started out on 27??

                scottalanmiller 1 Reply Last reply Reply Quote 0
                • brandon220
                  brandon220 @scottalanmiller last edited by

                  @scottalanmiller I just don't remember having to "manually" upgrade PHP when upgrading to new releases of Fedora. Not saying I didn't have to do it that way. Just do not recall.

                  JaredBusch scottalanmiller 2 Replies Last reply Reply Quote 0
                  • JaredBusch
                    JaredBusch @brandon220 last edited by

                    @brandon220 said in PHP Upgrade (Nextcloud):

                    @scottalanmiller I just don't remember having to "manually" upgrade PHP when upgrading to new releases of Fedora. Not saying I didn't have to do it that way. Just do not recall.

                    You don't have to. Being stuck on 29 is likely the problem.

                    brandon220 1 Reply Last reply Reply Quote 0
                    • brandon220
                      brandon220 @JaredBusch last edited by

                      @JaredBusch That is very logical. That is a good reason that I don't remember manually upgrading.

                      scottalanmiller 1 Reply Last reply Reply Quote 0
                      • scottalanmiller
                        scottalanmiller @brandon220 last edited by

                        @brandon220 said in PHP Upgrade (Nextcloud):

                        Just taking a wild guess now, but it may still be on 29.

                        That's just a bit behind, lol.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmiller
                          scottalanmiller @brandon220 last edited by

                          @brandon220 said in PHP Upgrade (Nextcloud):

                          @scottalanmiller I just don't remember having to "manually" upgrade PHP when upgrading to new releases of Fedora. Not saying I didn't have to do it that way. Just do not recall.

                          Yeah, it's automatic with the OS update.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmiller
                            scottalanmiller @brandon220 last edited by

                            @brandon220 said in PHP Upgrade (Nextcloud):

                            @JaredBusch That is very logical. That is a good reason that I don't remember manually upgrading.

                            I know Ubuntu 20.04 is PHP 7.4

                            brandon220 1 Reply Last reply Reply Quote 1
                            • brandon220
                              brandon220 @scottalanmiller last edited by

                              @scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.

                              scottalanmiller 1 Reply Last reply Reply Quote 0
                              • scottalanmiller
                                scottalanmiller @brandon220 last edited by

                                @brandon220 said in PHP Upgrade (Nextcloud):

                                @scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.

                                We use both. Still loads of Fedora. We've started finding that Ubuntu just has so much more desktop focus and many server apps are testing on, designed for, or whatever with Ubuntu. They've come a long way.

                                JaredBusch brandon220 travisdh1 3 Replies Last reply Reply Quote 0
                                • JaredBusch
                                  JaredBusch @scottalanmiller last edited by

                                  @scottalanmiller said in PHP Upgrade (Nextcloud):

                                  @brandon220 said in PHP Upgrade (Nextcloud):

                                  @scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.

                                  We use both. Still loads of Fedora. We've started finding that Ubuntu just has so much more desktop focus and many server apps are testing on, designed for, or whatever with Ubuntu. They've come a long way.

                                  I don't care. I will still not use it. I'll do Debian in place of an Ubuntu server.

                                  1 Reply Last reply Reply Quote 0
                                  • brandon220
                                    brandon220 @scottalanmiller last edited by

                                    @scottalanmiller I only have Fedora Workstation on everything I use with the exception of 1 machine that has W10 for my cable certification software. Haven't loaded Ubuntu (desktop) in a long time. Seems like there is currently too much extra "bloat" that I am trying to avoid.

                                    @JaredBusch Fedora has been too stable for me to change to anything else. It just works. While there is more info out there for Ubuntu than Fedora if you need support or help - still not worth changing IMO.

                                    black3dynamite 2 Replies Last reply Reply Quote 0
                                    • black3dynamite
                                      black3dynamite @brandon220 last edited by

                                      @brandon220 said in PHP Upgrade (Nextcloud):

                                      @scottalanmiller I only have Fedora Workstation on everything I use with the exception of 1 machine that has W10 for my cable certification software. Haven't loaded Ubuntu (desktop) in a long time. Seems like there is currently too much extra "bloat" that I am trying to avoid.

                                      @JaredBusch Fedora has been too stable for me to change to anything else. It just works. While there is more info out there for Ubuntu than Fedora if you need support or help - still not worth changing IMO.

                                      You can install Ubuntu Desktop minimal install instead of the normal installation. Either one will still have snapd installed.

                                      scottalanmiller 1 Reply Last reply Reply Quote 0
                                      • black3dynamite
                                        black3dynamite @brandon220 last edited by

                                        @brandon220 also why change? I use both Ubuntu (Desktop/Server) and Fedora (Desktop/Server).

                                        brandon220 1 Reply Last reply Reply Quote 0
                                        • travisdh1
                                          travisdh1 @scottalanmiller last edited by

                                          @scottalanmiller said in PHP Upgrade (Nextcloud):

                                          @brandon220 said in PHP Upgrade (Nextcloud):

                                          @scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.

                                          We use both. Still loads of Fedora. We've started finding that Ubuntu just has so much more desktop focus and many server apps are testing on, designed for, or whatever with Ubuntu. They've come a long way.

                                          Nope, things have been like that for quite a long time. I put up with Debian and hold my nose with Ubuntu.

                                          brandon220 1 Reply Last reply Reply Quote 0
                                          • stacksofplates
                                            stacksofplates last edited by

                                            If you run it with a container image, the PHP version should be always up to date and you don't need to rely on your host OS to maintain that. Makes management quite a bit easier.

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