@@ -6,14 +6,14 @@ Deploying to Microsoft Azure Website Cloud
66
77This step by step cookbook describes how to deploy a small Symfony web
88application to the Microsoft Azure Website cloud platform. It will explain how
9- tosetup a new Azure website including configuring the right PHP version and
9+ toset up a new Azure website including configuring the right PHP version and
1010global environment variables. The document also shows how to you can leverage
1111Git and Composer to deploy your Symfony application to the cloud.
1212
1313Setting up the Azure Website
1414----------------------------
1515
16- Tosetup a new Microsoft Azure Website, first `signup with Azure `_ or sign in
16+ Toset up a new Microsoft Azure Website, first `sign up with Azure `_ or sign in
1717with your credentials. Once you're connected to your `Azure Portal `_ interface,
1818scroll down to the bottom and select the **New ** panel. On this panel, click
1919**Web Site ** and choose **Custom Create **:
@@ -41,7 +41,7 @@ next step.
4141Step 2: New MySQL Database
4242~~~~~~~~~~~~~~~~~~~~~~~~~~
4343
44- On this step, you will be prompted tosetup your MySQL database storage with a
44+ On this step, you will be prompted toset up your MySQL database storage with a
4545database name and a region. The MySQL database storage is provided by Microsoft
4646in partnership with ClearDB. Choose the same region you selected for the hosting
4747plan configuration in the previous step.
@@ -114,7 +114,7 @@ the web server.
114114 Choosing a more recent PHP version can greatly improve runtime performance.
115115 PHP 5.5 ships with a new built-in PHP accelerator called OPCache that
116116 replaces APC. On an Azure Website, OPCache is already enabled and there
117- is no need to install andsetup APC.
117+ is no need to install andset up APC.
118118
119119 The following screenshot shows the output of a:phpfunction: `phpinfo ` script
120120 run from an Azure Website to verify that PHP 5.5 is running with
@@ -171,7 +171,7 @@ this file just needs to be moved into the custom website extension directory.
171171 longer be necessary.
172172
173173To get the ``php_intl.dll `` file under your ``site/wwwroot `` directory, simply
174- access the online **Kudu ** tool by browsing to the followingurl :
174+ access the online **Kudu ** tool by browsing to the followingURL :
175175
176176..code-block ::text
177177
@@ -342,7 +342,7 @@ credentials, CSRF token protection, etc. These parameters come from the
342342..image ::/images/cookbook/deployment/azure-website/step-16.png
343343:alt: Configuring Symfony global parameters
344344
345- The most important thing in this cookbook is to correctlysetup your database
345+ The most important thing in this cookbook is to correctlyset up your database
346346settings. You can get your MySQL database settings on the right sidebar of the
347347**Azure Website Dashboard ** panel. Simply click on the
348348**View Connection Strings ** link to make them appear in a pop-in.
@@ -395,7 +395,7 @@ Symfony application is more complex than a basic Symfony Standard Edition, you
395395may have additional commands to execute for setup (see:doc: `/cookbook/deployment/tools `).
396396
397397Make sure that your application is running by browsing the ``app.php `` front
398- controller with your web browser and the followingurl :
398+ controller with your web browser and the followingURL :
399399
400400..code-block ::bash
401401
@@ -408,7 +408,7 @@ Configure the Web Server
408408~~~~~~~~~~~~~~~~~~~~~~~~
409409
410410At this point, the Symfony application has been deployed and works perfectly on
411- the Azure Website. However, the ``web `` folder is still part of theurl , which
411+ the Azure Website. However, the ``web `` folder is still part of theURL , which
412412you definitely don't want. But don't worry! You can easily configure the web
413413server to point to the ``web `` folder and remove the ``web `` in the URL (and
414414guarantee that nobody can access files outside of the ``web `` directory.)
@@ -453,9 +453,9 @@ application, configure it with the following content:
453453 </configuration >
454454
455455 As you can see, the latest rule ``RewriteRequestsToPublic `` is responsible for
456- rewriting anyurls to the ``web/app.php `` front controller which allows you to
456+ rewriting anyURLs to the ``web/app.php `` front controller which allows you to
457457skip the ``web/ `` folder in the URL. The first rule called ``BlockAccessToPublic ``
458- matches allurl patterns that contain the ``web/ `` folder and serves a
458+ matches allURL patterns that contain the ``web/ `` folder and serves a
459459``403 Forbidden `` HTTP response instead. This example is based on Benjamin
460460Eberlei's sample you can find on GitHub in the `SymfonyAzureEdition `_ bundle.
461461
@@ -471,7 +471,7 @@ and executed on a Microsoft IIS web server. The process is simple and easy
471471to implement. And as a bonus, Microsoft is continuing to reduce the number
472472of steps needed so that deployment becomes even easier.
473473
474- .. _`signup with Azure` :https://signup.live.com/signup.aspx
474+ .. _`sign up with Azure` :https://signup.live.com/signup.aspx
475475.. _`Azure Portal` :https://manage.windowsazure.com
476476.. _`PHP MSDN documentation` :http://blogs.msdn.com/b/silverlining/archive/2012/07/10/configuring-php-in-windows-azure-websites-with-user-ini-files.aspx
477477.. _`git-scm.com` :http://git-scm.com/download