VIRTUALBOY BLOG
I certainly think it could be. For those of you who may not know what I'm barking on about - it's all about the web. Well, to be more specific, it's about Windows, IIS, SQL and PHP, as oppose to Linux, Apache, MySQL and PHP. Notice the common factor in both of those; the P, for PHP.
This time last year, Microsoft and Zend announced a technical collaboration to enhance the experience of running the PHP scripting language on Windows Server however, just recently, as we get closer to the launch of Windows Server 2008, there have been a few more announcements.
Server 2008, if you didn't know, contains the new and improved version of Internet Information Services, version 7.0. So, what's new about this release?
So, that's enough about IIS 7.0 in general - back to the topic - why is WISP the new LAMP? Well, up to now, PHP developers, although they will be developing on top of Windows, the platform of choice for running their web servers etc, was Linux and Apache, with a MySQL backend. Why? Well, they were designed and written to work effectively together. PHP could be handled by IIS, using CGI, however it didn't give the level of performance that running PHP on a Linux/Apache platform gave, hence it became the platform of choice. With the announcement of FastCGI however, that's changing.
This FastCGI extension is built into Server 2008, but you can download it for free, for IIS 5.1 and 6. Just a quick note - IIS has had 0 critical updates. None. Nada. Zip. Secure? I'd say so. But what does this FastCGI do?
"Most applications built for IIS take advantage of the native, multi-threaded extensibility model of IIS. Many popular applications, particularly those written or originally designed for Linux, are not multi-threaded, and instead take a multi-process approach to concurrency. While the PHP engine itself is multi-thread capable, many of the popular PHP extensions are not, requiring a single concurrent request guarantee to operate reliably. This forces the use of CGI and results in poor performance on the Windows platform. FastCGI helps these application frameworks to achieve improved performance on Windows over CGI, while allowing stable operation in production environments"
So, that means that PHP will run much faster on a Windows platform. How much faster? A lot. In some cases, an order of magnitude quicker. Check out this video if you want the proof. Looking forward to Windows Server 2008, which has FastCGI built in, Zend will distribute Zend Core, that will be fully compatible with a Server Core installation of Windows Server 2008 - awesome news. This means Zend customers can run their PHP applications on a scaled down, efficient, dedicated IIS Server Core Web Server - more secure, easy to manage and more performant - sounds good, right?
It's not however, just about how PHP runs quicker on IIS - that's just 2 parts of the WISP vs. LAMP story. PHP still needs to be able to interact effectively with a database - before now, it's been pretty much a given that when using PHP, you'll go with MySQL, but now, there is an alternative.
"Microsoft is announcing the availability, this week of the first Community Technology Preview (CTP) of the SQL Server 2005 Driver for PHP. As part of Microsoft’s continued commitment to interoperability, the PHP Driver provides an optimized way for developers to leverage SQL Server 2005 in their PHP application. With this Driver, we are proud to address the needs of customers who have asked for a Microsoft-supported solution, and bring SQL Server’s scalability to PHP developers"
So, you've now got a strong platform for development and actually running your web applications in Windows Server 2008 and IIS 7.0, along with a great database offering, all of which connect with PHP in a way that enables efficient, streamlined and powerful performance - something that was only available to PHP developers running on LAMP in the past....
If you want more resources, check these out:
I’ve been browsing the Windows Server Team blog this morning, (trying to keep up with the flow of information