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

    PHP version change, like the LAMP app?

    WordPress (Developer)
    3
    6
    76
    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.
    • d19dotca
      d19dotca last edited by

      Hi there,

      Curious... are we able to change the PHP version in the WordPress app just like we can in the LAMP app? (https://docs.cloudron.io/apps/lamp/#supported-php-versions)

      If not, is it possible to perhaps add that type of functionality from the LAMP app in other PHP-based app packages?

      --
      Dustin Dauncey
      www.d19.ca

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

        This should be possible. What's the use case though? WP is not fully compatible with PHP 8 or 8.1 at this point.

        d19dotca micmc 2 Replies Last reply Reply Quote 3
        • d19dotca
          d19dotca @girish last edited by d19dotca

          @girish Ah interesting read. It may not be fully compatible but is still running fine for many people on PHP 8.0 from what I've been reading in various FB groups, plus it's still a supported version of PHP for WordPress whether fully compatible or not. A few of the page builders I use (namely Bricks and Oxygen) are now PHP 8.0 compatible and all the plugins I use appear to be too, so figured I may as well upgrade to 8.0 for the bit of performance improvements. 🙂

          I think ideally though that's where you could use the same formula you have for the LAMP app where it's 7.9 by default and can only be 8.0 once it's configured to be so manually using that switch you added. For consistency sake, I'd think that should perhaps be added to all PHP-based apps, but that's just my two cents.

          --
          Dustin Dauncey
          www.d19.ca

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

            @d19dotca Not opposed to it. We will move to Ubuntu 22 based image in the recent future, we can have multiple PHP versions in the base image itself.

            d19dotca 1 Reply Last reply Reply Quote 3
            • micmc
              micmc @girish last edited by micmc

              @girish said in PHP version change, like the LAMP app?:

              This should be possible. What's the use case though? WP is not fully compatible with PHP 8 or 8.1 at this point.

              However WP 6 is rolling out right now, I haven't checked yet, but I guess it should be fully compatible now... we've yet to see...


              https://marketingtechnology.services

              1 Reply Last reply Reply Quote 3
              • d19dotca
                d19dotca @girish last edited by

                @girish said in PHP version change, like the LAMP app?:

                @d19dotca Not opposed to it. We will move to Ubuntu 22 based image in the recent future, we can have multiple PHP versions in the base image itself.

                That'd be awesome! 🙂 Thanks Girish!

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB