Web Technologies

PHP on Windows and what’s happening

I blogged earlier about the great work the Microsoft Team was doing with the Zend team to get PHP running better on Windows. I can definitely say it’s made a difference. Some of our clients run really large PHP sites or bulletin boards (in fact this blog is running on PHP 5.2.1 on Windows).  In today’s Zend newsletter they mentioned an article in Redmond Developer News: Zend Boosts PHP on Windows.

My favorite quote from the article is:

“[A] lot of PHP development happens on Windows,” says Mark de Visser, Zend’s chief marketing officer. “However, most deployment happens on Linux. Why? Because PHP just doesn’t run very well on Windows. That was something that Microsoft didn’t like and that we saw as a problem. So, we got together with the aim of making sure that PHP had equal performance on Windows as it has on Linux and Unix.”

Followed by:

Zend is claiming improved Windows performance of between 200 percent and 300 percent overall with Zend Core 2.0.

These improvements were ofcourse returned to community in the release of PHP 5.2.1 which is running on all of our php ready windows shared hosting servers.

Great News for those looking to run their own IIS7 / Longhorn Server

We’ve had the pleasure of really digging in Longhorn and IIS7 for a few months now but yesterday Microsoft made the first public beta release of Longhorn available. This new beta also includes the latest builds of IIS7 and a plethora of new information was released along with this.

You can learn more about what’s new in this release of IIS7 on www.iis.net.  Bill Staples blog has a great write-up on just what all has changed with IIS7 in this release.

The IIS team has the golive program and details available at: http://www.iis.net/default.aspx?tabid=7&subtabid=79

In addition, if you just want to see what your application will look like in a beta shared IIS7 hosting environment then head over to our IIS7 beta page and check it out.  We’ve been deploying ruby-on-rails on IIS7, FastCGI and PHP on IIS7 and really trying to see just what she can do. Yes, we’re committed to providing the tools developers demand and PHP  (and soon FastCGI) on the Windows platform are two tools they’ll be demanding more and more. We’re already seeing a strong adoption of PHP/MySQL applications on shared hosting be is CMS applications, E-Commerce applications, Forums and Bulletin Boards or custom applications, PHP on Windows is going to become a very common shared hosting environment and we’re offering it, TODAY!

IIS7 is without question going to revolutionize not only Windows Hosting and shared hosting as a whole but is going to bring a new level of control and configurability to developers. To get developers up to speed immediately the IIS team has made available an IIS7 developers resource center off of the IIS.net website.  In the past few weeks there’s been a large number of new articles and webcasts posted as well. IIS.NET is definitely a site worth bookmarking.

windowslivewriter2d3dmappingfrommicrosoftlivemaps-eba0nap0-thumb2.png

2D/3D mapping from Microsoft Live Maps

I can remember back when Yahoo! Maps launched, how amazing this was. Then there was TerraServer with satellite pics of the work, followed by google earth. But this is just too cool. Microsoft has taken their maps and 2D images and made 3D images of them. They recently added Miami (right around the Superbowl).

Here’s some pics of the Nap of the Americas. Applied Innovations hosts our servers in the NAP because quite honestly it was built from the ground up to withstand any disaster and remain operational. Today the NAP is not only home to our company but also the US Military Southern Command. For a little more on the NAP you can see (http://www.appliedi.net/network).

Now to the pictures (remember you can click on these to see the full size image)

Your standard 2D pictures

Your elevated 2D picture (those big balls on the roof are actually satellite dishes for the Government)

Your Microsoft Live 3D image (too cool!)

If you’re wondering what’s so cool about this 3D image, open this link in Internet Explorer and start zooming around.

Free Blogs courtesy of webmastersdepot.com

My friends at webmastersdepot.com have been awesome. I’ve been helping them out with their VPS and the configuration of their applications and recently helped them setup wordpress mu.  WordPress MU is a blogging application built around wordpress (greatest blogging app available) that allows you to create a blogger.com, livespaces.com, wordpress.com (in fact it powers wordpress.com) type system. 

So the guys at webmastersdepot have now started offering free blog hosting! Say what? a webhost recommending someone else’s free hosting? Well, we believe it’s a good thing. Why? you’ll get a taste of wordpress and before long you’ll want to move to a full hosting account. Webmastersdepot.com will get affiliate credits for referring you and we’ll gain you as a hosting customer. It’s a win-win.

Anyway, head over to http://webmastersdepot.com/blogs/ and signup for your free blog today.

windowslivewriterdiamondsemeraldsnoitsrubysrubyonrailsonw-14d8cimage03.png

diamonds? emeralds? no it’s rubys! ruby on rails on windows!

February is the month of love. With the exchanging of Chocolates and Flowers, Jewelry and Gifts, what a better time than February to release the newest gem of web development: Ruby on Rails on Windows!  Mike Volodarsky (a product manager with the IIS team at Microsoft) has given us a Ruby on Rails on Windows tutorial. (BTW, this guy has the good stuff in his blog go subscribe to his feed)

Everyone that knows me, knows I love the “bad ass, cool stuff” and honestly I’ve been feeling a little jilted by my beloved windows because although ruby ran on windows there were issues with the implementation of fastCGI everyone was using. With beta releases of fastCGI for IIS from the Microsoft IIS Team we know those issues would soon be behind us.

These days all the cool web guys are talking about rails, RoR, Ruby, Ruby on Rails and the Linux guys are rejoicing in how their beloved Linux has one upped the great corporate villain Microsoft and how all of us are fools for using Windows. Meanwhile the die hard windows guys are sitting back going “but! but! but!.. BUT  WE GOT C#, we got ASPX!, oh oh oh we got AJAX! yeah we got AJAX.” But we all knew what didn’t have and that was a stable implementation of Ruby on Rails and we were ofcourse sad :( (some of us were in denial but we all knew we didn’t have it).

We did however have some very clever windows guys creating Monorail and SubSonic and we had a little alternative to let us feel the power, but it just wasn’t Ruby on Rails on Windows.  Until yesterday! When The great mvolo released a walkthrough on how to get FastCGI TP2 and Ruby running in IIS.

How do I run Ruby on Rails on Windows?

Mike Volodarsky from MVolo.com has released a tutoral titled:

10 steps to get Ruby on Rails running on Windows.

and the skies parted, the birds began to sing again and world was right once more. Yes ladies and gentlemen we have Ruby on Rails on Windows.

So let’s see we got: ASP, EXE, .CGI, .PL, .PHP, .CFM, .PY, .JSP, .ASPX and now .RB. All running on Windows.  Yes the FastCGI stuff is still a technology preview and probably very much beta but it still runs pretty good.

Where do I run Ruby on Rails on Windows?

Unfortunately, most shared hosters are not going to make this available in their shared hosting environments for some time yet, Applied Innovations included. But it’s good to know that it’s just around the corner and before long shared windows hosting will be offering it. The other bad news is that the tutorial requires a wildcard mapping that’s not available in XP, so if you’re still running XP you’re not going to be running this tutorial on your desktop (I did get the built in webserver in rails to run though).

There is good news though.  We’re offering IIS7 beta hosting right now for free to everyone and we will be including ruby support there in the next couple days. The even better news though is that I have tested this on a Windows VPS running on our new Virtuosso Windows servers and it runs great. In fact I tested ruby on rails on my own Web Developer VPS server (developer edition VPS servers are just $39.95/month) and have it running there perfectly without error by following Mike’s tutorial. (I did find one error though he has controller and it should be controllers in a couple paths but that was it, otherwise it ran flawlessly.)

Here’s a little screen shot of my ruby app running on my windows developer vps server. 

I know I keep mentioning the VPS deal and alot of people are wondering why I’m so gung ho on VPSs? We’ve been waiting to release our Windows VPS hosting on Virtuozzo since the very first beta release was sent over to us from SWsoft back in 2004.  With the initial releases of Virtuozzo for Windows in 2005 there were some performance and stability improvements that we fealt needed to be made and we didn’t want to release Windows VPS servers before we were ready and for that matter the technology was ready. Afterall we pride ourselves on performance, stability and cost effective hosting solutions.

But then we fast forward to today and it’s a whole new ballgame. Virtuozzo has blown the pants off it’s competitors in so many ways it’s crazy. So we’re jumping in with both feet and throwing a ton of resources into windows VPS hosting and we believe it will become even more popular than dedicated hosting. The fact that I can take a cheap $40 VPS with 256MB of memory and 10GB of diskspace and when I hit a memory problem have it updated to say 512MB of memory without a reboot, without a service interruption, is awesome. But then let’s say I outgrow my $40 VPS which now has 512MB of memory. Guess what? I upgrade to a $69.95 VPS that gives me more CPU share and memory. Then my sites are starting to slow down again (because after all my blog is ever so popular .. when Jess Coburn talks people listen.. to the other guy usually) and I need more CPU instead of upgrading to the enterprise VPS I decide I’m a big shot and it’s time for a dedicated server but not just any dedicated server, a dynamic dedicated server.  What’s that you ask? Well you take a dedicated server, install the virtuozzo engine on it (which uses all of about 3% overhead) and migrate your VPS to the dedicated server and give it 100% of the system resources. What’s the beauty in that? Well you don’t have to bother with backing up and restoring to new hardware, you don’t have to recreate or republish sites, you don’t have to change a thing. You practically just drag and drop between hardware nodes. Then as new hardware is released and you outgrow your current dedicated server, you just have your VPS moved from your current dedicated server to a new dedicated server and again with almost no service interruption and no changes. So is that going to revolutionize hosting? OH YEAH! And that’s why I call it the evolution of webhosting.

So go grab one of our developer vps servers, follow Mike’s tutorial and start riding the rails.

 

UPDATE: I was asked if I was certain rails was working. To be honest, I wasn’t certain. I assumed the debug above was enough to show it was working but that’s just a spark and I needed to see fire.  So I followed a hello world tutorial for rails and managed to get it working without a problem:

 When time permits I’ll verify a full database app.