Update to PHP8
-
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?)
-
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
-
@nebulon Can multiple PHP versions be included in the same image?
Then the apps choose what to run.
-
@robi yes. PHP supports multi-install.
-
@murgero Then we only need one LAMP app with a few PHP versions for all.
-
-
@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
-
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.
-
@argovaerts @darkben The latest package supports PHP 8. See https://docs.cloudron.io/apps/lamp/#supported-php-versions on how to switch.