Parsing PHP programs running _php tutorial in Windows Azure

Source: Internet
Author: User
Tags cloud computing platforms vc9
PHP is a very popular scripting language used primarily for handling dynamic Web pages. PHP users are sure to be pleasantly surprised by the ability to run PHP applications within the Windows Azure platform.

We know that one of the advantages of Microsoft's Windows Azure platform compared with other cloud computing platforms is that it has the innate advantage of convenient development tools and familiar programming languages.

Let's take a look at how simple and easy it is to run PHP apps within Windows Azure.

Pre-conditions:

Php

IIS 7 (Open ASP. WCF HTTP Activation)

Microsoft Visual Studio SP1 (or higher)

Windows Azure Tools for Microsoft Visual Studio (June 2010)

Code:

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

The author downloads the VC9 x86 Non Thread Safe (2010-mar-04 20:11:07) version. In the sidebar of the download page, we can see the difference between the VC6 and VC9 versions, the VC6 version is compiled with the Visual Studio 6 compiler, and the VC9 version is compiled by the Visual Studio 2008 compiler with improved performance and stability. The difference between thread safety and non-threading security is that the Windows operating system uses a multithreaded architecture, while Linux and Unix use a multi-process architecture.

2. Open Visual Studio and create a new project->visual c#->cloud->windows Azure Cloud Service. Enter the project name CloudService1, then click OK.

  

Add Cgi_web Role, renamed to Php_webcgirole. Click OK.

  

http://www.bkjia.com/PHPjc/486298.html www.bkjia.com true http://www.bkjia.com/PHPjc/486298.html techarticle PHP is a very popular scripting language used primarily for handling dynamic Web pages. PHP users are sure to be pleasantly surprised by the ability to run PHP applications within 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.