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

    WordPress Developer vs LAMP PHP 7.4

    WordPress (Developer)
    wordpress benchmark
    3
    7
    400
    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.
    • JOduMonT
      JOduMonT last edited by

      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 Reply Quote 1
      • girish
        girish Staff last edited by

        @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.

        JOduMonT 2 Replies Last reply Reply Quote 0
        • JOduMonT
          JOduMonT @girish last edited by

          @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 😉

          Lonkle 1 Reply Last reply Reply Quote 0
          • JOduMonT
            JOduMonT @girish last edited by

            @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

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

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

              1 Reply Last reply Reply Quote 1
              • Lonkle
                Lonkle @JOduMonT last edited by

                @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. ☺️

                JOduMonT 1 Reply Last reply Reply Quote 1
                • JOduMonT
                  JOduMonT @Lonkle last edited by

                  @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 Reply Quote 1
                  • First post
                    Last post
                  Powered by NodeBB