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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Developer)
  3. PHP Version for WordPress Developer

PHP Version for WordPress Developer

Scheduled Pinned Locked Moved WordPress (Developer)
8 Posts 3 Posters 446 Views 3 Watching
  • 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.
    • dsp76D Offline
      dsp76D Offline
      dsp76
      wrote on last edited by
      #1

      I think I understood, that I can't choose the PHP version in WordPress Developer?

      So whats the strategy of PHP updates here - currently its PHP8.1. Will it always be 1-2 Versions behind?

      (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

      jdaviescoatesJ 1 Reply Last reply
      1
      • dsp76D dsp76

        I think I understood, that I can't choose the PHP version in WordPress Developer?

        So whats the strategy of PHP updates here - currently its PHP8.1. Will it always be 1-2 Versions behind?

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #2

        @dsp76 yeah, I think @staff really ought to make PHP version configurable for the WordPress apps, just like it is with the LAMP app (as per https://docs.cloudron.io/apps/lamp/#supported-php-versions )

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          A new base image (5.0.0) is coming which will be Ubuntu 8.3 by default and Ubuntu 24.04. This will happen in the coming month or two.

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            Just checked: php 8.3.6 to be exact.

            jdaviescoatesJ 1 Reply Last reply
            1
            • girishG girish

              Just checked: php 8.3.6 to be exact.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #5

              @girish thanks for the update - any chance of making it configurable though? WP plugins quite often want a specific version.

              I use Cloudron with Gandi & Hetzner

              girishG 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @girish thanks for the update - any chance of making it configurable though? WP plugins quite often want a specific version.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @jdaviescoates that will complicate the packaging and testing of WP app packages. But also, I recall people wanted old version of PHP like php 5, php 8.0 etc for WP. Installing old PHP versions for corner cases will bloat the WP package and also break their installs when we remove old php (unless we keep every php forever). If we remove a PHP version, is it a major bump? If major bump, all users of WP have to manually update. It's just a lot of work for what we think is a corner case.

                I think for such cases where a specific PHP version is desired, it's best if people use LAMP app, choose whichever PHP and install WP themselves .

                Do we have examples of popular plugins requiring specific PHP versions in WordPress?

                jdaviescoatesJ 1 Reply Last reply
                1
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  If we go by this , 8.1 is still the most used - https://stitcher.io/blog/php-version-stats-january-2024

                  1 Reply Last reply
                  0
                  • girishG girish

                    @jdaviescoates that will complicate the packaging and testing of WP app packages. But also, I recall people wanted old version of PHP like php 5, php 8.0 etc for WP. Installing old PHP versions for corner cases will bloat the WP package and also break their installs when we remove old php (unless we keep every php forever). If we remove a PHP version, is it a major bump? If major bump, all users of WP have to manually update. It's just a lot of work for what we think is a corner case.

                    I think for such cases where a specific PHP version is desired, it's best if people use LAMP app, choose whichever PHP and install WP themselves .

                    Do we have examples of popular plugins requiring specific PHP versions in WordPress?

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #8

                    @girish said in PHP Version for WordPress Developer:

                    It's just a lot of work for what we think is a corner case.

                    I think for such cases where a specific PHP version is desired, it's best if people use LAMP app, choose whichever PHP and install WP themselves .

                    Do we have examples of popular plugins requiring specific PHP versions in WordPress?

                    Fair enough. I don't have specific examples to give, nor the current need myself, just thought it'd be nice to have and easy enough feature to add and wasn't really thinking about the consequences 🙂

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    1
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

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