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 Offline
    A Offline
    amclint
    wrote on last edited by
    #1

    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

    realJSOPR F L J T 6 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

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      Runs fine on my setup. I'm running win2k3 server with a WAMP stack. (PHP 5.xx). Doesn't appear to be any slower than Linux box.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      A 1 Reply Last reply
      0
      • realJSOPR realJSOP

        Runs fine on my setup. I'm running win2k3 server with a WAMP stack. (PHP 5.xx). Doesn't appear to be any slower than Linux box.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

        That's kind of what I figured, 25x faster than normal speed seemed like BS to me

        if (!interested){return false;} amclint

        T 1 Reply Last reply
        0
        • A amclint

          That's kind of what I figured, 25x faster than normal speed seemed like BS to me

          if (!interested){return false;} amclint

          T Offline
          T Offline
          TheGreatAndPowerfulOz
          wrote on last edited by
          #4

          well, he said doesn't seem to be slower. and you don't know if he's running IIS7.

          Silence is the voice of complicity. Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay

          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

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

            amclint wrote:

            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

            What's your observation with your apps? Do they appear run (if MS claims are of any worthy) 25 times slower?


            Farhan Noor Qureshi

            A 1 Reply Last reply
            0
            • T TheGreatAndPowerfulOz

              well, he said doesn't seem to be slower. and you don't know if he's running IIS7.

              Silence is the voice of complicity. Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay

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

              Well, IIS 7 is just the next platform, the reason they are doing it is because there is supposedly an issue with PHP running slow on IIS 6 right now. My guess though is it's just another publicity stunt by MS, same as with the linux thing and the poor suckers they assigned in their development teams to be "open source liaisons"

              if (!interested){return false;} amclint

              1 Reply Last reply
              0
              • F Farhan Noor Qureshi

                amclint wrote:

                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

                What's your observation with your apps? Do they appear run (if MS claims are of any worthy) 25 times slower?


                Farhan Noor Qureshi

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

                I haven't actually tested them inside linux on a similar hardware configuration, that is the reason I asked...they don't seem slow at all, not any more so than .Net or complex ASP pages. If the speed difference isn't pronounced then I'm sure as heck not buying longhorn over my current win2k3 setup, just to get IIS 7

                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

                  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}

                  J F 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
                                          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