Parsing How PHP programs run in WindowsAzure _ PHP Tutorial

Source: Internet
Author: User
Tags cloud computing platforms vc9
Parse how PHP programs run in WindowsAzure. PHP is a very popular scripting language mainly used to process dynamic web pages. PHP users will be pleasantly surprised to run the PHP application on the WindowsAzure platform. We know that Microsoft PHP is a very popular scripting language mainly used to process dynamic web pages. PHP users will be pleasantly surprised to run the PHP application on the Windows Azure platform.

We know that one of the advantages of Microsoft Windows Azure platform over other cloud computing platforms lies in its inherent advantages of convenient development tools and familiar programming languages.

Next let's take a look at how simple and easy it is to run PHP applications in Windows Azure.

Prerequisites:

PHP

IIS 7 (enable ASP. NET, wcf http Activation)

Microsoft Visual Studio 2008 SP1 (or higher)

Windows Azure Tools for Microsoft Visual maxcompute (June 2010)

Code:

1. First, we download the latest non-thread-safe PHP from the http://windows.php.net/download.

The downloaded version is VC9 x86 Non Thread Safe (2010-Mar-04 20:11:07. On the sidebar of the download page, we can see the differences between VC6 and VC9. VC6 is compiled using the Visual Studio 6 compiler, while VC9 is compiled by the Visual Studio 2008 compiler, both performance and stability are improved. The difference between thread security and non-thread security is that the Windows operating system adopts the multi-threaded architecture, while Linux and Unix adopt the multi-process architecture.

2. open Visual Studio, create a project, and choose Visual C #> Cloud> Windows Azure Cloud Service. Enter the project name CloudService1 and click OK.

  

Add CGI_Web Role and rename it PHP_WebCgiRole. Click OK.

  

Bytes. PHP users will be pleasantly surprised to run the PHP application on the Windows Azure platform. We know that Microsoft...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.