PHP Optimized for Windows Server 2008
Stony Stevenson writes "It used to be that popular PHP applications would run more poorly on Windows Server than on a Linux or Unix servers, for which PHP had been optimized. Specialist in the PHP language Zend Technologies now says that's no longer the case. The Zend Core commercially supported form of PHP has been certified by Microsoft as ready to run 'with performance and stability' on Windows Server 2008, said Andi Gutmans, co-founder and CTO of Zend. Previously, PHP 'didn't run as well as it should on Windows,' said Gutmans, despite the fact that 75% to 80% of PHP users were developing on Windows workstations."
So, in short, they aren't using cygwin anymore to compile it.
"When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
I applaud the effort to embrace open source languages though and hope they continue along this path of self improvement.
This is my sig. There are many like it but this one is mine.
"with performance and stability"
Excellent. This way, when it turns out to be false, they can always say: "We didn't mention 'good' performance.
It would have been nice to know the areas that they optimized to get the performance increases. Unfortunately the article is a little light on the details.
There are still many other compatibility issues between PHP on Windows and Linux that make it hard to push things from a Windows box straight to a Linux box without extra testing.
"In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
PHP on IIS5/6 had to run as a CGI application, because their ISAPI handler implementation was historically crappy and unstable under load. CGI under the thread-oriented (as opposed to process-oriented in *nix) pipelining model of Windows was usually not a good performer. IIS7 introduced FastCGI, which is what Zend used to "certify" PHP to run on Server 2008. But FastCGI is not an optimization, it's a new execution mode for IIS. Nor was PHP modified (AFAIK) in any way to run effectively on FastCGI. Python apps also run very well on it (which personally is more exciting to me than PHP).
Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
It's a British spelling. Like my handle (Oxidiser) or Aluminium.
Meh, I wouldn't believe Zend. They're in corporation with Microsoft to provide better interoperability... They're not going to go into a deal with Microsoft and then say, "Still sucks on Windows server" are they?
Surely it should also run better on all windows servers so why just 2008? Unless they're trying to find reasons for you to upgrade..
"despite the fact that 75% to 80% of PHP users were developing on Windows workstations."
I do not know many people using Windows Server as a workstation...
Comment removed based on user account deletion
Maybe you should use the same personality for the subject and message next time.
Go on. You know you want to do it.
... like Ruby on Rails?
Just kidding. Seriously, though, it said "commercially supported form of PHP". Be sure to take a big mental note of that.
Commercial == fee's. Based on Zends track record of charging for things, it's not going to be cheap for single developers... I have a feeling it'll be in the area of $800-$1500 per CPU or something silly like that... in which case, why not just use a UNIX/derivative?
We run a .NET shop here, but even I wonder, why not just install Apache on Windows? Errrrr, or why not just go the easy route and put up an Ubuntu LAMP server? Everything I work on is in Windows, but I just don't see the benefit of running PHP on Windows...what does [Microsoft say] the Windows platform offers for PHP that running it on freely available platforms doesn't?
OtimiZed?
Then the answer is: "More than it's worth."
Help stamp out iliturcy.
If it "didn't run as well as it should on Windows"
.. and now it DOES ...
but windows doesn't run as well as it did BEFORE
doesn't that mean that we're just back to square one?
Here's an idea: try making slashvertisements less obvious.
Copyright infringement is "piracy" in the same way DRM is "consumer rape"
We do most all php app development on Windows but we use Linux for our web servers...a good chunk of folks known to me do the same - development on W and run on L. Frankly, I'm yet to come across anyone in my acquaintances who runs the programs online on Windows servers...but then I and most folks known to me run bootstrapped companies with little money (VCs yet to smile on us)...
"75% to 80% of PHP users were developing on Windows"
-- But how many of those scripts are being served from windows servers? I strongly suspect far less.
The English language was invented in England you fucknut.
On the other hand, if there's a market segment used to paying somebody for their software, and paying every year to keep it running, wouldn't that be a great market segment to expand into if you're looking for revenue? This sounds to me like a solid motivation for Zend to better support the Windows world (or at least issue PR statements to this effect). Side note: I'm not suggesting that Zend will get more money out of PHP users on Win directly, but MS will probably get more server rev. if PHP is better supported on Win, which might mean that MS provides some incentive to Zend.
I think every once in awhile some executive on the fringe of the FOSS world gets a hair up his ass and assumes he can monetize some market leading piece of FOSS- completing missing the point that the market share was probably enabled by two things: quality code thats does something useful and available at no/low cost. As soon as you try to siphon off revenue, you're going to upset the applecart and the result may be a decline in market share. Sorry- free rides are pretty hard to come by no matter how clever you are with smoke and mirrors or bait & switch.
So now we're going to hear more about the WIMP stack for web publishing?
Windows
IIS
MySQL
PHP
Good marketing name.
does that mean 75% to 80% of the code was "developed" or "hosted" on a windows box?
Probably, but that wasn't his point. I bet that production WinPHP servers are probably somewhere between 0 to 3% (or less) of the PHP being served on the entire net. But he was talking about people who develop on Win machines usually run IIS or Apache/PHP locally to test their apps, then upload to a *nix machine after testing. Problem is that PHP stability on Windows is garbage and it makes it difficult to properly benchmark an app when the same PHP code produces different runs results. I personally don't fool with IIS but I still get a tremendous amount of crashes using the FastCGI/PHP & Apache on Windows for testing locally. In my opinion they still have a long way to go.
it is better than trying to figure out what MS app is lieing to you..
right now i have an exchange box that is failing backup's.. it fails do to a check sum error.. dig further and it says it is failing check sum because of a bad sector....
it is a VM... it is using a virtual disk... and the physical disk the virtual disk is on is fine...
it just makes you scratch your head and ask.. what the fuck.
'...if only "Jumping to a Conclusion" was an event in the Olympics.'
President Bush? Is that you?
Code, Hardware, stuff like that.
Php guru: you need a windows zend license.
Boss: So if we pay somebody else it will work better in windows
Php guru: yes
Boss: Windows has great tco doesnt it.
PHP and Windows? They each suck enough on their own.
At my company we have run PHP on Windows under a variety of setups.
Our preferred method is as an Apache module, but we've also run it on IIS 6 & 7 as an ISAPI module with no problems for customers who required it. The instability of PHP as ISAPI on IIS is greatly exaggerated - as long as you are not using any unusual libraries that is. And the performance is great.
cooooool mate i agree with you said ..nice work there buddy!!
arul vigg
It has been a learning curve to get IIS and PHP to love each other, but it is very doable. The running as CGI only constraint is just a myth, as i've been fine running as ISAPI on IIS6 for 1.5 years now. IIS has lagged Apache in some very nice features (mod_rewrite for instance...) and should play catch up to Apache on a lot of functionallity with the new IIS release.
The commercially supported PHP they're talking about is Zend Core. Zend don't charge for it. (Although they do, obviously, charge to support it. I think you get one free support ticket when you download it, but I may just be imagining that...)
The thing you're linking to - Zend Platform - is a totally different product that sits on top of Zend Core to supply some high-availability functions, session clustering, Java bridge, monitoring, profiling, etc.
How can php run on Windows with [i]performance and stability[/i] when Windows itself is incapable of both?
I recompiled Apache and PHP with the options I need just like on OpenBSD or Linux, it works like a charm. Mac OS is a native BSD environment (Yes I am a BSD fan since long), PHP works perfectly and the tools offered by apple work seamlessly. Mainly Time Machine backups from my small macbook to the Mac Pro, this is perfect!
I have no need for a Mini or a Mac Pro I have no need for a Cray or an EPIA, doesn't mean it's shit or pathetic, it's not the right hardware for me that's it. Apple's hardware is pathetic. An uneducated guess... Or a peasant's answer... at best. You can chose to buy your components separately... Like anyone who wants to have total control over the hardware. Like any hardware company, SUN Apple or HP will give you the best for the hardware you buy considering they have good drivers for it and a system taking full advantage of it... I stopped buying components since I left College (did buy some upgrades during my studies though). It is not only useless most of the time, it's also time consuming and just dumb if you don't have very particular needs.
I went through 3 Dell laptops (owned) and was the administrator of a dozen more (and of hundreds of other regular PCs) during my studies.
I also had the pleasure (and displeasure) to work at SUN (with Solaris), with SGI workstations, on Windows (3.11 to 2003 Server RC2) on OS2 on QNX, BSDs and some Linux flavors...
Finally none gave me the satisfaction and interoperability I have now with my OS X (and my less used Linux boxes). As a consultant the Mac is much more versatile as I use it for work and for personal daily tasks without the need for visualized environment (apart from
I work at a place with about 40 OS X machines running Leopard. How are you related to these 40 machines? Do you use at least one on a daily basis? It's shit. Well if you don't know how to use it, it sure is shit... Just like Solaris, IRIX, Windows, Mac OS or anything else is shit to my grandma. She prefers the cassette player and the TV. Innovative is not exclusive of "bad" Indeed, until now Apple provides me with the least worst design I found (for a price an average sized company can pay).
\
Anyway... I'm happy PHP now gets even more compatible with Windows (I heard something similar when 2003 came out)... But if you want the best dev environment for PHP it's definitely the Mac!
The road to hell is paved with good intentions...
mmmm.... looks like confused and crap code for a confused and crap operating system then?
To be honest actually I've found my pre-release of Server 2008 to be the best OS Microsoft have come up with since 3.11 for Workgroups. It boots twice as fast as Solaris, it's a damn sight more understandable to use than Linux (did I just really say that?), it's got a good command line and really does work properly. In fact, due to the lack of decent network functions S2008 should be the next desktop OS. I really mean that because as a working OS it's like having a fresh *nix install that you can do anything with. Unfortunately it doesn't feel very good as a server OS.
In my book MS should withdraw Vista and use Server 2008 for desktop use and discard any idea of using it on a proper network. I'm sure that someone could create a good desktop GUI for this system and then at least Linux would have some competition.
No, Afghanistan was properly spelt.
Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
hey, last century just called - it wants its quips back...
Commercial == fee's. Based on Zends track record of charging for things, it's not going to be cheap for single developers... I have a feeling it'll be in the area of $800-$1500 per CPU or something silly like that [zend.com]... in which case, why not just use a UNIX/derivative?
Look, if you need silly density you can pay for Solaris licenses. If licensing fees matter to you, you run Linux/BSD. If licensing fees don't matter to you, you run Windows, if you like Windows. If you can afford licensing fees and you don't like Windows, you run Linux/BSD.
So, the only people running Windows like Windows and don't care about licensing fees. See?, makes sense.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
They have their .NET platform with ASP and C# (which is supposed to be a fantastic language). What is the reason behind trying to optimise PHP on Windows Server 2008?
Is it to push the vast majority of PHP developers to deploy on a Windows platform to be able to, in a few years, say: "Hey, now that you're on a Windows platform, why don't you have a look at .NET?"
And get the fuck off PHP and use a real fucking language, tool. Bragging about PHP being done best on the Mac ignores how cocksuckingly terrible the programming languages worth a fucking damn are on that piece of shit. Take the cock out of your mouth and use a real fucking computer, almighty fucking "web developer".
Just like Vista...
Get a life Bill.
*Ring ring*
It's Pauly Shore on the phone for you. Says he wants his only good joke back...
And PHP is a real language. To me it's as annoying as Java and C# for it lacks multiple inheritance support, but it does what is advertised, it works on linux, BSD, Solaris, Windows and others and that suits my needs.
Otherwise if you have better languages to suggest, you are welcome to share your wisdom
The road to hell is paved with good intentions...
totally agree with bentob0x , i dont see apache supporting .NET anytime soon.
There is no need for this to happen, .NET will do anything ATM, do why go to inherit PHP aswell. No point!
Robert
new zealand web designers
Actually it is a Germanic language ... fucknut.