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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    LAMP with PHP 7.4 is now available

    Announcements
    3
    9
    288
    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.
    • girish
      girish Staff last edited by girish

      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 Reply Quote 4
      • marcusquinn
        marcusquinn last edited by

        🙌

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

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

        We're not here for a long time - but we are here for a good time :)
        Jersey/UK
        Work & Ecommerce Advice: https://brandlight.org
        Personal & Software Tips: https://marcusquinn.com

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          @marcusquinn Both WordPress were already updated today with PHP 7.4

          1 Reply Last reply Reply Quote 2
          • girish
            girish Staff last edited by

            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 Reply Quote 0
            • girish
              girish Staff last edited by

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

              imc67 1 Reply Last reply Reply Quote 4
              • imc67
                imc67 translator @girish last edited by

                @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 Reply Quote 1
                • girish
                  girish Staff last edited by 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?

                  imc67 1 Reply Last reply Reply Quote 0
                  • imc67
                    imc67 translator @girish last edited by

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

                    girish 1 Reply Last reply Reply Quote 1
                    • girish
                      girish Staff @imc67 last edited by

                      @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 Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB