Skip to content

Commit 5115183

Browse files
committed
Lots of fixes thanks to @xabbuh and @stof!
1 parent efb8089 commit 5115183

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

cookbook/deployment/azure-website.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ plan configuration in the previous step.
5151

5252
Agree to the terms and conditions and click on the right arrow to continue.
5353

54-
Step 3: Where is your source code
54+
Step 3: Where Is your source code
5555
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5656

5757
Now, on the third step, select a **Local Git repository** item and click
@@ -60,11 +60,11 @@ on the right arrow to configure your Azure Website credentials.
6060
.. image:: /images/cookbook/deployment/azure-website/step-04.png
6161
:alt: Setup a local Git repository
6262

63-
Step 4: New user name and password
64-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63+
Step 4: New Username and Password
64+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6565

6666
Great! You're now on the final step. Create a username and a secure password:
67-
theese will become essential identifiers to connect to the FTP server and
67+
these will become essential identifiers to connect to the FTP server and
6868
also to push your application code to the Git repository.
6969

7070
.. image:: /images/cookbook/deployment/azure-website/step-05.png
@@ -83,7 +83,7 @@ Website.
8383
.. image:: /images/cookbook/deployment/azure-website/step-07.png
8484
:alt: Azure Website Control Panel
8585

86-
Your Azure Website is now ready, but to run a Symfony site, you need to configure
86+
Your Azure Website is ready! But to run a Symfony site, you need to configure
8787
just a few additional things.
8888

8989
Configuring the Azure Website for Symfony
@@ -112,16 +112,16 @@ the web server.
112112
.. note::
113113

114114
Choosing a more recent PHP version can greatly improve runtime performance.
115-
PHP 5.5 ships with a new built-in PHP accelerator called ZendOptimizer+ that
116-
replaces APC. On an Azure Website, ZendOptimizer+ is already enabled
117-
and there is no need to install and setup APC.
115+
PHP 5.5 ships with a new built-in PHP accelerator called OPCache that
116+
replaces APC. On an Azure Website, OPCache is already enabled and there
117+
is no need to install and setup 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
121-
ZendOptimizer+ enabled.
121+
OPCache enabled.
122122

123123
.. image:: /images/cookbook/deployment/azure-website/step-09.png
124-
:alt: ZendOptimizer+ Configuration
124+
:alt: OPCache Configuration
125125

126126
Tweaking php.ini Configuration Settings
127127
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -153,7 +153,7 @@ Website repository.
153153
This cookbook has a section dedicated to explaining how to configure your
154154
Azure Website Git repository and how to push the commits to be deployed. See
155155
`Deploying from Git`_. You can also learn more about configuring PHP
156-
internal settings on the official page `PHP MSDN documentation`_.
156+
internal settings on the official `PHP MSDN documentation`_ page.
157157

158158
Enabling the PHP intl Extension
159159
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -324,7 +324,7 @@ the Composer ``install`` command downloads and installs all necessary third-part
324324
libraries.
325325

326326
This may take a while depending on the number of third-party dependencies
327-
you've configured into your ``composer.json`` file.
327+
you've configured in your ``composer.json`` file.
328328

329329
.. note::
330330

@@ -408,15 +408,15 @@ Configure the Web Server
408408
~~~~~~~~~~~~~~~~~~~~~~~~
409409

410410
At this point, the Symfony application has been deployed and works perfectly on
411-
the Azure Website. However the ``web`` folder is still part of the url, which
412-
you definitely don't want. But don't worry! We can easily configure the web
411+
the Azure Website. However, the ``web`` folder is still part of the url, which
412+
you definitely don't want. But don't worry! You can easily configure the web
413413
server to point to the ``web`` folder and remove the ``web`` in the URL (and
414414
guarantee that nobody can access files outside of the ``web`` directory.)
415415

416416
To do this, create and deploy (see previous section about Git) the following
417417
``web.config`` file. This file must be located at the root of your project
418418
next to the ``composer.json`` file. This file is the Microsoft IIS Server
419-
equivalent of the well-known ``.htaccess`` file from Apache. For a Symfony
419+
equivalent to the well-known ``.htaccess`` file from Apache. For a Symfony
420420
application, configure it with the following content:
421421

422422
.. code-block:: xml

0 commit comments

Comments
 (0)