One day Last week, I set out to get a simple CakePHP site up and running on Windows Azure Web Sites.
CakePHP is an open source MVC framework for building PHP applications.
CakePHP is a framework, which means ideally, there should not be anything specific to get it working on any platform. As I suspected this is exactly the case, you can simply:
- Download CakePHP 2.2.1
- Unzip the Package
- Deploy to Windows Azure Web Sites
- Build your Application
- I used the CakePHP Blog Tutorial to test the functionality
CakePHP on IIS (aka Windows Azure Web Sites)
One thing to note about hosting CakePHP applications on Windows Azure Web Sites is that your site will be running in IIS. As such you do need to add a web.config to your deployment to get the friendly urls to work as IIS does not know how to decipher .htaccess files [Import Apache mod_rewrite rules using IIS Url Rewrite tool].
Here is a sample web.config file [found on the CakePHP site] for running CakePHP in Windows Azure Web Sites.
Happy Clouding!


Pingback: How to use CakePHP on Windows Azure Web Sites « Cloudy Thoughts by SyntaxC4 « PHP Animal
Pingback: Windows Azure Community News Roundup (Edition #30) - Windows Azure - Site Home - MSDN Blogs
Pingback: Windows Azure Community News Roundup (Edition #30) - Windows Azure Blog
Pingback: Chris Koenig » Azure in the Blogosphere