On June 13, 2013 the Windows Azure Web Sites team announced support for CakePHP in the Windows Azure App Gallery. Check out the post on Installing CakePHP from the Windows Azure Web Site Gallery
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.