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. WordPress Developer vs LAMP PHP 7.4

WordPress Developer vs LAMP PHP 7.4

Scheduled Pinned Locked Moved WordPress (Developer)
wordpressbenchmark
7 Posts 3 Posters 1.5k 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.
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #1

    Everywhere on the net they claim, and I believe it PHP 7.4 is faster than PHP 7.3.
    So I was, yeah you know Cloudron WordPress (Developer) use PHP 7.3 let's try to spin my own WordPress under LAMP which have PHP 7.4.

    I deployed 2 news instances of the apps before starting the test, so none of these containers have technically more CPU/MEM available.

    Based on GTmetrix

    Surprisingly WordPress (Developer), with PHP 7.3, have a Fully Loaded Time of 2.1s. while WordPress (LAMP) with PHP 7.4, have a Fully Loaded Time of 2.8s. It would be probably event faster is the favicon wasn't missing.

    The Waterfall Chart

    PHP 7.4 (WordPress under LAMP container)

    9d434fe8-6214-4ee8-aca6-3bc0c7888916-image.png

    PHP 7.3 (WordPress Developer container)

    fdaa8290-da0b-4ff8-93b6-bb11f2a53fe2-image.png

    The major difference is at the first query, WordPress Developer take 200ms to answer. It is only cause by PHPmyAdmin which is running only inside the LAMP container?

    While I understand PHP 7.4 is new and keeping a version behind is good for compatibility and avoiding issue; I would be curious to understand why or what are the optimization for WordPress Developer ?

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

      @JOduMonT WordPress (Developer) uses PHP 7.4 as well. So, the difference is probably coming from elsewhere. The stacks are pretty much the same. Maybe some configuration of WordPress is affecting the speed.

      JOduMonTJ 2 Replies Last reply
      0
      • girishG girish

        @JOduMonT WordPress (Developer) uses PHP 7.4 as well. So, the difference is probably coming from elsewhere. The stacks are pretty much the same. Maybe some configuration of WordPress is affecting the speed.

        JOduMonTJ Offline
        JOduMonTJ Offline
        JOduMonT
        wrote on last edited by
        #3

        @girish said in WordPress Developer vs LAMP PHP 7.4:

        Maybe some configuration of WordPress is affecting the speed.

        While I simply deployed WordPress in the LAMP 7.4
        I remember in the WordPress Developer Redis is enabled by default 😉

        LonkleL 1 Reply Last reply
        0
        • girishG girish

          @JOduMonT WordPress (Developer) uses PHP 7.4 as well. So, the difference is probably coming from elsewhere. The stacks are pretty much the same. Maybe some configuration of WordPress is affecting the speed.

          JOduMonTJ Offline
          JOduMonTJ Offline
          JOduMonT
          wrote on last edited by
          #4

          @girish said in WordPress Developer vs LAMP PHP 7.4:

          WordPress (Developer) uses PHP 7.4 as well

          I'm glad to ear that, my I suggest to change it in the description
          86aaa6d3-4e91-493b-9664-1bb3c756fcfb-image.png

          girishG 1 Reply Last reply
          1
          • JOduMonTJ JOduMonT

            @girish said in WordPress Developer vs LAMP PHP 7.4:

            WordPress (Developer) uses PHP 7.4 as well

            I'm glad to ear that, my I suggest to change it in the description
            86aaa6d3-4e91-493b-9664-1bb3c756fcfb-image.png

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

            @JOduMonT Good catch! Fixed - https://git.cloudron.io/cloudron/wordpress-developer-app/-/commit/8502d82f9cf68686790ec66ab892b969fb33e12f

            1 Reply Last reply
            1
            • JOduMonTJ JOduMonT

              @girish said in WordPress Developer vs LAMP PHP 7.4:

              Maybe some configuration of WordPress is affecting the speed.

              While I simply deployed WordPress in the LAMP 7.4
              I remember in the WordPress Developer Redis is enabled by default 😉

              LonkleL Offline
              LonkleL Offline
              Lonkle
              wrote on last edited by
              #6

              @JOduMonT Redis is pretty great, and it's included as part of LAMP so you could test it in the same conditions and try your benchmarks again. ☺️

              JOduMonTJ 1 Reply Last reply
              1
              • LonkleL Lonkle

                @JOduMonT Redis is pretty great, and it's included as part of LAMP so you could test it in the same conditions and try your benchmarks again. ☺️

                JOduMonTJ Offline
                JOduMonTJ Offline
                JOduMonT
                wrote on last edited by
                #7

                @Lonk said in WordPress Developer vs LAMP PHP 7.4:

                could test it in the same conditions

                yes, I got that after, I just simply did'nt actived it inside WordPress
                but at the end it is doing what the WordPress_Dev container doing manually. 😉

                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