Faster PHP on Win2k3
-
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
-
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
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 -
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 -
That's kind of what I figured, 25x faster than normal speed seemed like BS to me
if (!interested){return false;} amclint
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
-
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
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
-
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
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
-
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
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
-
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
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} -
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
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.[^]
-
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}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.[^]
-
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}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
-
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}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
-
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.[^]
-
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
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.[^]
-
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.[^]
-
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
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.[^]
-
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
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} -
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
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
-
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
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
-
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
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..)