Due to many requests, here is a very crude PHP deployment sample for your apps in Azure. Here is how it works : I created a dummy Web role application that does nothing but execute a startup task. That project is then used as a skeleton for your PHP application. What you have to do to use it is :
0/ Install the latest Azure SDK (I tested this against the 1.4 refresh)
1/ Unzip skeleton.zip somewhere
2/ in the YourPHPApp folder, put your php application
3/ Launch Package.bat and you"ll get back the package in DeployWhatsInThere
Things you can tweak :
If you need a different PHP Runtime, go to the PHPRuntime\PHP folder and do what you want (the version is 5.3.6 NTS VC9, match the extensions if you add some)
If you need to tweak permissions and the like, change PHPRuntime\InstallPHP.cmd
If you want to add remote desktop capabilities, open the solution skeleton.sln and you'll have access to the dummy web role. If you recompile the new version will be picked up by package.bat (Note : you can also manually edit the csdef and cspkg file)
If you need ftp access to the box : drop some ftp binaries somewhere alongside the php runtime and launch them from installphp.cmd (oh, don't forget to add a port in the firewall by adding an endpoint in ServiceDefinition.csdef, something like :
<InputEndpoint localPort="21" port="21" name="ftp" protocol="tcp"/>
Here is the thing :
(Comments should go to my inbox rather than here, just send them to pierre.couzy at microsoft.com)