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. Announcements
  3. LAMP with PHP 7.4 is now available

LAMP with PHP 7.4 is now available

Scheduled Pinned Locked Moved Announcements
9 Posts 3 Posters 1.3k Views 3 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.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by girish
      #1

      Hi all,
      LAMP with PHP 7.4 is now available in the app store.

      Code: https://git.cloudron.io/cloudron/lamp74-app
      Docs: https://cloudron.io/documentation/apps/lamp/

      1 Reply Last reply
      4
      • marcusquinnM Offline
        marcusquinnM Offline
        marcusquinn
        wrote on last edited by
        #2

        🙌

        7.4 would tick one of the Wordpress security & performance check boxes too when available there.

        9964d1ce-66e2-43a1-895f-2149fadc62e4-image.png

        Web Design https://www.evergreen.je
        Development https://brandlight.org
        Life https://marcusquinn.com

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

          @marcusquinn Both WordPress were already updated today with PHP 7.4

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

            I have marked this app as stable now. Note that PHP 7.3 is nearing will end support in 6 Dec 2020. I am writing a migration guide on how to move from the PHP 7.3 app to this new 7.4 app.

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

              Migration guide is here - https://docs.cloudron.io/guides/upgrade-php-lamp/

              imc67I 1 Reply Last reply
              4
              • girishG girish

                Migration guide is here - https://docs.cloudron.io/guides/upgrade-php-lamp/

                imc67I Offline
                imc67I Offline
                imc67
                translator
                wrote on last edited by
                #6

                @girish is this again an amazing Cloudron experience or am I doing something wrong 😉 ?

                I have/had a WP Woocommerce install in the LAMP 7.3 app and followed your migration guide, however after restoring the backup of LAMP7.3 into LAMP7.4 I discovered the credentials.txt were exactly the same in LAMP7.4 as in LAMP7.3! So the result was I didn't had to do anything, all was working immediately! As a double check I stopped LAMP7.3 and it still works.

                Is this expected and ok? Because in the guide it says you have to change the install credentials (in my case wp-config.php) with the new credentials.txt.

                The complete migration from LAMP7.3 to LAMP7.4 with a Woocommerce webshop took me only a few minutes and no downtime!

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

                  @imc67 Oh, that cannot be the case. Each app gets it's own database and will have separate credentials. The database of the old app will go away when you uninstall the old app (it will remain and appear to work when it's stopped).

                  Can you check that what you see in env | grep CLOUDRON_MYSQL output and what you see in credentials.txt are the same?

                  imc67I 1 Reply Last reply
                  0
                  • girishG girish

                    @imc67 Oh, that cannot be the case. Each app gets it's own database and will have separate credentials. The database of the old app will go away when you uninstall the old app (it will remain and appear to work when it's stopped).

                    Can you check that what you see in env | grep CLOUDRON_MYSQL output and what you see in credentials.txt are the same?

                    imc67I Offline
                    imc67I Offline
                    imc67
                    translator
                    wrote on last edited by
                    #8

                    @girish said in LAMP with PHP 7.4 is now available:

                    env | grep CLOUDRON_MYSQL

                    Those 2 are now equal and the credentials.txt is now different from the LAMP7.3!!! I'm absolutely sure those were the same after restore, I can see by timestamp that the LAMP7.4 credentials.txt is exactly 10 minutes later than the latest timestamp of a restored file/folder.

                    Could it be that this file is re-generated?

                    Anyway I changed wp-config.php to the new DB and Redis and all seems to work fine!

                    girishG 1 Reply Last reply
                    1
                    • imc67I imc67

                      @girish said in LAMP with PHP 7.4 is now available:

                      env | grep CLOUDRON_MYSQL

                      Those 2 are now equal and the credentials.txt is now different from the LAMP7.3!!! I'm absolutely sure those were the same after restore, I can see by timestamp that the LAMP7.4 credentials.txt is exactly 10 minutes later than the latest timestamp of a restored file/folder.

                      Could it be that this file is re-generated?

                      Anyway I changed wp-config.php to the new DB and Redis and all seems to work fine!

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

                      @imc67 said in LAMP with PHP 7.4 is now available:

                      Could it be that this file is re-generated?

                      That should be it, this file is indeed re-generated. It could be that you opened up the file immediately after the import. The file is re-created when the app starts up and until it starts up it will have the contents of the previous app.

                      1 Reply Last reply
                      0
                      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