Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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
Code Project
  1. Home
  2. The Lounge
  3. Faster PHP on Win2k3

Faster PHP on Win2k3

Scheduled Pinned Locked Moved The Lounge
phpcsharpsysadminwindows-adminlinux
22 Posts 9 Posters 0 Views 1 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.
  • A amclint

    I'm sure this has been discussed but if so I missed it...just curious if there are any PHP developers that can tell me how slow their stuff ran on Win2k3 & PHP 4/5 as compared to a Linux server? Microsoft is partnering with Zend to increase the PHP execution in IIS 7 by 25 times apparently, I have a ton of apps I manage on Windows/PHP that run Opensource phpBB2 & OSCommerce. If it's true then I am very interested to see the performance benefit, because they don't really seem slow right now...are they making PHP out to be a great deal faster than .Net apps on the same server? Hmmm...

    if (!interested){return false;} amclint

    L Offline
    L Offline
    l a u r e n
    wrote on last edited by
    #8

    i know that we run a website that serves over a TB of video data per day to over 200k unique users serving up over 400k complex pages that are heavily database oriented all this runs on 3 linux/apache/mysql/php boxes ... one database server one video server and one web server if thats any idea of performance you can get from php on linux


    "there is no spoon"
    {some projects} {about me}

    F J A 3 Replies Last reply
    0
    • A amclint

      I'm sure this has been discussed but if so I missed it...just curious if there are any PHP developers that can tell me how slow their stuff ran on Win2k3 & PHP 4/5 as compared to a Linux server? Microsoft is partnering with Zend to increase the PHP execution in IIS 7 by 25 times apparently, I have a ton of apps I manage on Windows/PHP that run Opensource phpBB2 & OSCommerce. If it's true then I am very interested to see the performance benefit, because they don't really seem slow right now...are they making PHP out to be a great deal faster than .Net apps on the same server? Hmmm...

      if (!interested){return false;} amclint

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #9

      My understanding of this is the 25x thing was supposed to be for the CGI version of PHP because MS is revamping (supposedly) how CGI works in IIS7.

      Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

      A 1 Reply Last reply
      0
      • L l a u r e n

        i know that we run a website that serves over a TB of video data per day to over 200k unique users serving up over 400k complex pages that are heavily database oriented all this runs on 3 linux/apache/mysql/php boxes ... one database server one video server and one web server if thats any idea of performance you can get from php on linux


        "there is no spoon"
        {some projects} {about me}

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #10

        l a u r e n wrote:

        if thats any idea of performance you can get from php on linux

        What sad is I said PHP was fast the other day, and of course (as expected on CP) I get a laugh for a response. Just goes to show how people that don't know much about a system/environment, etc. still love to cast their judgments on it.

        Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

        1 Reply Last reply
        0
        • L l a u r e n

          i know that we run a website that serves over a TB of video data per day to over 200k unique users serving up over 400k complex pages that are heavily database oriented all this runs on 3 linux/apache/mysql/php boxes ... one database server one video server and one web server if thats any idea of performance you can get from php on linux


          "there is no spoon"
          {some projects} {about me}

          F Offline
          F Offline
          Farhan Noor Qureshi
          wrote on last edited by
          #11

          l a u r e n wrote:

          a website that serves over a TB of video data per day to over 200k unique users serving up over 400k complex pages that are heavily database oriented

          Cool. What hardware are these servers equipped with?


          Farhan Noor Qureshi

          L 1 Reply Last reply
          0
          • L l a u r e n

            i know that we run a website that serves over a TB of video data per day to over 200k unique users serving up over 400k complex pages that are heavily database oriented all this runs on 3 linux/apache/mysql/php boxes ... one database server one video server and one web server if thats any idea of performance you can get from php on linux


            "there is no spoon"
            {some projects} {about me}

            A Offline
            A Offline
            amclint
            wrote on last edited by
            #12

            1000gb of video a day? What are you youtube ;) anyway, none of what you said matters for this topic...which was how fast php is on windows compared to linux and how MS is going to improve something that doesn't even seem slow I had to load balance a website that got featured on Oprah, 10 win2k3 servers clustered and we could have used a few more....but I'm sure there are others on here that have super high traffic stories ;)

            if (!interested){return false;} amclint

            J A 2 Replies Last reply
            0
            • J Jeremy Falcon

              My understanding of this is the 25x thing was supposed to be for the CGI version of PHP because MS is revamping (supposedly) how CGI works in IIS7.

              Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

              A Offline
              A Offline
              amclint
              wrote on last edited by
              #13

              Actually, that makes sense...I never use the CGI interface because it sucks, I pretty much forgot it was there with the ISAPI extension.

              if (!interested){return false;} amclint

              J 1 Reply Last reply
              0
              • A amclint

                1000gb of video a day? What are you youtube ;) anyway, none of what you said matters for this topic...which was how fast php is on windows compared to linux and how MS is going to improve something that doesn't even seem slow I had to load balance a website that got featured on Oprah, 10 win2k3 servers clustered and we could have used a few more....but I'm sure there are others on here that have super high traffic stories ;)

                if (!interested){return false;} amclint

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #14

                amclint wrote:

                anyway, none of what you said matters for this topic...which was how fast php is on windows compared to linux and how MS is going to improve something that doesn't even seem slow

                Personally, if MS and PHP do manage to get PHP running faster on Windows than Linux I'd be delighted because as sure as the sun rises in the east, the Linux folks will be working very hard to do the same for *nix. Seems like win-win to me.

                Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                A 1 Reply Last reply
                0
                • J Jeremy Falcon

                  amclint wrote:

                  anyway, none of what you said matters for this topic...which was how fast php is on windows compared to linux and how MS is going to improve something that doesn't even seem slow

                  Personally, if MS and PHP do manage to get PHP running faster on Windows than Linux I'd be delighted because as sure as the sun rises in the east, the Linux folks will be working very hard to do the same for *nix. Seems like win-win to me.

                  Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                  A Offline
                  A Offline
                  amclint
                  wrote on last edited by
                  #15

                  No kidding...I certainly won't complain seeing as I could have less expensive hardware do the same level of work as they make the software more efficient.

                  if (!interested){return false;} amclint

                  1 Reply Last reply
                  0
                  • A amclint

                    Actually, that makes sense...I never use the CGI interface because it sucks, I pretty much forgot it was there with the ISAPI extension.

                    if (!interested){return false;} amclint

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #16

                    amclint wrote:

                    Actually, that makes sense...I never use the CGI interface because it sucks, I pretty much forgot it was there with the ISAPI extension.

                    On Windows, I typically do, but for development only. I find it easier to swap in and out different versions of PHP that way, and it's just what I've gotten used to over the years. Using it for a production server however, is asking for a nightmare. But, maybe things will change with IIS7.

                    Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                    1 Reply Last reply
                    0
                    • F Farhan Noor Qureshi

                      l a u r e n wrote:

                      a website that serves over a TB of video data per day to over 200k unique users serving up over 400k complex pages that are heavily database oriented

                      Cool. What hardware are these servers equipped with?


                      Farhan Noor Qureshi

                      L Offline
                      L Offline
                      l a u r e n
                      wrote on last edited by
                      #17

                      just regular pentium 4's i think ... web server has 6gb ram ... db has 2gb and video has 4gb ... all run debian nothing special really


                      "there is no spoon"
                      {some projects} {about me}

                      1 Reply Last reply
                      0
                      • A amclint

                        1000gb of video a day? What are you youtube ;) anyway, none of what you said matters for this topic...which was how fast php is on windows compared to linux and how MS is going to improve something that doesn't even seem slow I had to load balance a website that got featured on Oprah, 10 win2k3 servers clustered and we could have used a few more....but I'm sure there are others on here that have super high traffic stories ;)

                        if (!interested){return false;} amclint

                        A Offline
                        A Offline
                        Andy Brummer
                        wrote on last edited by
                        #18

                        amclint wrote:

                        10 win2k3 servers clustered and we could have used a few more

                        What did you have 10 million users a day? Sites that I worked on back in '98 used something like 6 NT 4.0 servers to handle 1.5 million users a day and we could have easily gone down to 3 without a problem.

                        Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

                        A 1 Reply Last reply
                        0
                        • A Andy Brummer

                          amclint wrote:

                          10 win2k3 servers clustered and we could have used a few more

                          What did you have 10 million users a day? Sites that I worked on back in '98 used something like 6 NT 4.0 servers to handle 1.5 million users a day and we could have easily gone down to 3 without a problem.

                          Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

                          A Offline
                          A Offline
                          amclint
                          wrote on last edited by
                          #19

                          The traffic was within a 4-6hr window during the Oprah show and then on a re-run show 4-5 weeks later. Cumulative hits I don't remember but unique visitors was insane, I'll find out how many it was, this was christmas 2005. Also, it was pretty last minute...so the hardware I had on hand was for base dedicated server customers (amd 3200+ I think) and raid mirrored SATA drives. Not the fastest boxes out there, but good for at least 1000/1500 connections a second.

                          if (!interested){return false;} amclint

                          1 Reply Last reply
                          0
                          • A amclint

                            I'm sure this has been discussed but if so I missed it...just curious if there are any PHP developers that can tell me how slow their stuff ran on Win2k3 & PHP 4/5 as compared to a Linux server? Microsoft is partnering with Zend to increase the PHP execution in IIS 7 by 25 times apparently, I have a ton of apps I manage on Windows/PHP that run Opensource phpBB2 & OSCommerce. If it's true then I am very interested to see the performance benefit, because they don't really seem slow right now...are they making PHP out to be a great deal faster than .Net apps on the same server? Hmmm...

                            if (!interested){return false;} amclint

                            T Offline
                            T Offline
                            Tomas Petricek
                            wrote on last edited by
                            #20

                            PHP can run faster on Windows if it is compiled to .NET :-). Take a look at the Phalanger[^] project. The PhpBB for example works very well. I'm (probably) not objective, because I recently became project administrator for Phalanger (after original authors were hired by Microsoft) and I don't have any statistics that compare Phalanger&IIS with PHP&IIS 7 (you can find some older stats at http://php-compiler.net[^]), but we will try it :-). Anyway Running PHP on .NET has many other interesting advantages - I'm going to write some articles about it soon.

                            Tomas Petricek, C# MVP
                            Tomasp.net | My Photos | My Blog (C# 3, LINQ, F# etc..)

                            A 1 Reply Last reply
                            0
                            • A amclint

                              I'm sure this has been discussed but if so I missed it...just curious if there are any PHP developers that can tell me how slow their stuff ran on Win2k3 & PHP 4/5 as compared to a Linux server? Microsoft is partnering with Zend to increase the PHP execution in IIS 7 by 25 times apparently, I have a ton of apps I manage on Windows/PHP that run Opensource phpBB2 & OSCommerce. If it's true then I am very interested to see the performance benefit, because they don't really seem slow right now...are they making PHP out to be a great deal faster than .Net apps on the same server? Hmmm...

                              if (!interested){return false;} amclint

                              S Offline
                              S Offline
                              Steve McLenithan
                              wrote on last edited by
                              #21

                              http://weblogs.asp.net/scottgu/archive/2006/10/31/PHP-and-the-FastCGI-Module-for-IIS-7.0.aspx[^]

                              Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                              1 Reply Last reply
                              0
                              • T Tomas Petricek

                                PHP can run faster on Windows if it is compiled to .NET :-). Take a look at the Phalanger[^] project. The PhpBB for example works very well. I'm (probably) not objective, because I recently became project administrator for Phalanger (after original authors were hired by Microsoft) and I don't have any statistics that compare Phalanger&IIS with PHP&IIS 7 (you can find some older stats at http://php-compiler.net[^]), but we will try it :-). Anyway Running PHP on .NET has many other interesting advantages - I'm going to write some articles about it soon.

                                Tomas Petricek, C# MVP
                                Tomasp.net | My Photos | My Blog (C# 3, LINQ, F# etc..)

                                A Offline
                                A Offline
                                amclint
                                wrote on last edited by
                                #22

                                LOL! No way, I am going to check that out...phpBB2 doesn't really have a good alternative on the Microsoft side.

                                if (!interested){return false;} amclint

                                1 Reply Last reply
                                0
                                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
                                • World
                                • Users
                                • Groups