PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Brian Swan's Blog: Creating PHP Websites with WebMatrix

Note: This article was originally published at PHPDeveloper on 15 July 2010.
PHPDeveloper

Brian Swan has a recent post to his blog looking at how to create PHP websites with the help of the WebMatrix tool - a software bundle that provides you with a web service and a database to build your applications on.

As I read those posts (and others), I was left wondering about the extent of PHP support in WebMatrix (which is what I'll look at in this post). As it turns out, PHP is fully supported, but it requires a little bit of work up front in this beta release of WebMatrix (a smoother experience for PHP developers is planned for the final release).

He steps you through the install of the WebMatrix tool (including screenshots) and how to create a sample site. Adding PHP support is as simple as including another block of XML in the configuration file for FastCGI support. Open up a new PHP file and your code should be interpreted like normal.