@@ -8,9 +8,9 @@ The preferred way to develop your Symfony application is to use
88:doc: `PHP's internal web server </cookbook/web_server/built_in >`. However,
99when using an older PHP version or when running the application in the production
1010environment, you'll need to use a fully-featured web server. This article
11- describes several ways to use Symfony with Apache2 or Nginx.
11+ describes several ways to use Symfony with Apache or Nginx.
1212
13- When using Apache2 , you can configure PHP as an
13+ When using Apache , you can configure PHP as an
1414:ref: `Apache module <web-server-apache-mod-php >` or with FastCGI using
1515:ref: `PHP FPM <web-server-apache-fpm >`. FastCGI also is the preferred way
1616to use PHP :ref: `with Nginx <web-server-nginx >`.
@@ -27,14 +27,14 @@ to use PHP :ref:`with Nginx <web-server-nginx>`.
2727
2828 If your hosting provider requires you to change the ``web/ `` directory to
2929 another location (e.g. ``public_html/ ``) make sure you
30- :ref: `override the location of the web/ directory <override-web-directory >`.
30+ :ref: `override the location of the web/ directory <override-web-dir >`.
3131
3232.. _web-server-apache-mod-php :
3333
34- Apache2 with mod_php/PHP-CGI
35- ----------------------------
34+ Apache with mod_php/PHP-CGI
35+ ---------------------------
3636
37- The **minimum configuration ** to get your application running under Apache2 is:
37+ The **minimum configuration ** to get your application running under Apache is:
3838
3939.. code-block :: apache
4040
@@ -110,8 +110,8 @@ and increase web server performance:
110110 Using mod_php/PHP-CGI with Apache 2.4
111111~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112112
113- In Apache 2.4, ``Order allow,deny `` has been replaced by ``Require all granted ``,
114- and hence you need to modify your ``Directory `` permission settings as follows:
113+ In Apache 2.4, ``Order allow,deny `` has been replaced by ``Require all granted ``.
114+ Hence, you need to modify your ``Directory `` permission settings as follows:
115115
116116.. code-block :: apache
117117
@@ -124,8 +124,8 @@ For advanced Apache configuration options, read the official `Apache documentati
124124
125125.. _web-server-apache-fpm :
126126
127- Apache2 with PHP-FPM
128- --------------------
127+ Apache with PHP-FPM
128+ -------------------
129129
130130To make use of PHP5-FPM with Apache, you first have to ensure that you have
131131the FastCGI process manager ``php-fpm `` binary and Apache's FastCGI module
0 commit comments