Windows azure has been released for some time. The support of fast CGI allows PHP to run on it.
[More information for access to http://phpazure.com/]
With the following simple configurations, Your PHP can be published to the cloud.
1. servicedefinition. csdef
<Servicedefinition name = "cloudphp" xmlns = "http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
<Webrole name = "webcgirole1" enablenativecodeexecution = "true">
<Inputendpoints>
<Inputendpoint name = "httpin" protocol = "HTTP" Port = "80"/>
</Inputendpoints>
<Configurationsettings>
<Setting name = "diagnosticsconnectionstring"/>
</Configurationsettings>
</Webrole>
</Servicedefinition>
2. Web. config
Add the following to the handlers node of system. webserver:Code
<Add name = "PHP-FastCGI" Path = "*. php" verb = "*" modules = "fastcgimodule"
Scriptprocessor = "% roleroot % \ approot \ PHP \ php-cgi.exe"
Resourcetype = "unspecified"/>
[Assume that your php files are stored in the project and directory/PHP]
3. Web. roleconfig
<Configuration>
<System. webserver>
<FastCGI>
<Application fullpath = "% roleroot % \ approot \ PHP \ php-cgi.exe"/>
</FastCGI>
</System. webserver>
</Configuration>
4. Of course, Your PHP files must be put into the project as content and published together.