Let Windows Azure Web services also directly support PHP sites

Source: Internet
Author: User
Keywords azure azure php website
The Zend framework is a PHP http://www.aliyun.com/zixun/aggregation/13435.html "> Development Framework" (framework) if your PHP Web application is used The Zend Framework is also developed, and it is easy to deploy Windows Azure Web services and immediately bring your site online. You can refer to this article to learn how PHP applications work on Windows Azure, and this article is about Windows Azure Web site services.

Since the Zend Framework (then ZF calls it) is an open source suite, there are many ways to install ZF, as described in the method presented on the ZF official website.

After installing the ZF2 PHP application in this way, you can deploy Windows Azure directly without special modifications, so just start a new Web service in Windows Azure's admin background.

Windows Azure Web Services can support PHP sites directly

Before deployment, if your ZF2 Web application follows the ZF2 design, the site's root directory is under the public/directory, before deployment, first to the management of the Web site services, in the set area, pull to the bottom, modify the virtual application and directory settings, will/corresponds to the site\ Wwwroot\public.

Set the site root directory/corresponding file path

After the establishment, if you want to use FTP to deploy the site, as long as the dashboard to check the FTP address, account, and set the password, as long as the use of FTP software to the application of all files uploaded to the wwwroot/directory, you can complete the deployment.

List the online information for FTP in the dashboard in background settings

It's worth noting that if you want to use GIT for deployment, install it by the official web site (via composer), the. gitignore file in your application will skip through some of the necessary libraries, so be aware that not all of the library's functions have been made when you join the file. (The lazy Way is git add-f--all to add).

Related Article

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.