Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. Update to PHP8

Update to PHP8

Scheduled Pinned Locked Moved LAMP
9 Posts 6 Posters 1.6k Views 6 Watching
  • 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.
    • argovaertsA Offline
      argovaertsA Offline
      argovaerts
      wrote on last edited by
      #1

      PHP8 has been stable for some time now.

      What is the timeframe to update the app to PHP8?

      (Or is there a quick fix possible?)

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Given that the LAMP app is kind of for special case php apps, we will likely release a new version with php8 which will not update from the php7 one to stay backwards compatible. There is currently no timeframe though when this will happen.

        If you want to experiment on your own, you can clone the repo at https://git.cloudron.io/cloudron/lamp7.4-app and adjust the Dockerfile to use php8

        robiR 1 Reply Last reply
        2
        • nebulonN nebulon

          Given that the LAMP app is kind of for special case php apps, we will likely release a new version with php8 which will not update from the php7 one to stay backwards compatible. There is currently no timeframe though when this will happen.

          If you want to experiment on your own, you can clone the repo at https://git.cloudron.io/cloudron/lamp7.4-app and adjust the Dockerfile to use php8

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          @nebulon Can multiple PHP versions be included in the same image?

          Then the apps choose what to run.

          Conscious tech

          murgeroM 1 Reply Last reply
          0
          • robiR robi

            @nebulon Can multiple PHP versions be included in the same image?

            Then the apps choose what to run.

            murgeroM Offline
            murgeroM Offline
            murgero
            App Dev
            wrote on last edited by
            #4

            @robi yes. PHP supports multi-install.

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~

            robiR 1 Reply Last reply
            0
            • murgeroM murgero

              @robi yes. PHP supports multi-install.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #5

              @murgero Then we only need one LAMP app with a few PHP versions for all.

              Conscious tech

              girishG 1 Reply Last reply
              0
              • robiR robi

                @murgero Then we only need one LAMP app with a few PHP versions for all.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @robi @murgero Indeed. That sounds like a good idea. When we started out, I didn't expect any demand for specific PHP versions. Let me see if I can enhance the current app package to have PHP8 as well.

                darkbenD 1 Reply Last reply
                4
                • girishG girish

                  @robi @murgero Indeed. That sounds like a good idea. When we started out, I didn't expect any demand for specific PHP versions. Let me see if I can enhance the current app package to have PHP8 as well.

                  darkbenD Offline
                  darkbenD Offline
                  darkben
                  wrote on last edited by
                  #7

                  @girish hi, it will be amazing if we could have multiple php version on a LAMP app and switch between them. We could upgrade without having to reinstall our work on a new LAMP. Big +1

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    OK, I have pushed the changes for this at https://git.cloudron.io/cloudron/lamp7.4-app. I have to fix up the tests and will publish it tomorrow. Essentially, there is a file that you have to edit to change the version and restart the app.

                    1 Reply Last reply
                    1
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @argovaerts @darkben The latest package supports PHP 8. See https://docs.cloudron.io/apps/lamp/#supported-php-versions on how to switch.

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search