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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Update to PHP8

Scheduled Pinned Locked Moved LAMP
9 Posts 6 Posters 552 Views
    • 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 Online
    nebulonN Online
    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
  • robiR Offline
    robiR Offline
    robi
    replied to nebulon on last edited by
    #3

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

    Then the apps choose what to run.

    Life of sky tech

    murgeroM 1 Reply Last reply
    0
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to robi on last edited by
    #4

    @robi yes. PHP supports multi-install.

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

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to murgero on last edited by
    #5

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

    Life of sky tech

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to robi 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
  • darkbenD Offline
    darkbenD Offline
    darkben
    replied to girish 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 Do not disturb
    girishG Do not disturb
    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 Do not disturb
    girishG Do not disturb
    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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.