LAMP with PHP 7.4 is now available
-
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/ -
7.4 would tick one of the Wordpress security & performance check boxes too when available there.
-
@marcusquinn Both WordPress were already updated today with PHP 7.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.
-
Migration guide is here - https://docs.cloudron.io/guides/upgrade-php-lamp/
-
@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!
-
@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 incredentials.txt
are the same? -
@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!
-
@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.