Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee6a2ad

Browse filesBrowse files
committed
tweaked the min PHP version in the installation chapter
1 parent 5d97b5b commit ee6a2ad
Copy full SHA for ee6a2ad

File tree

Expand file treeCollapse file tree

1 file changed

+37
-35
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+37
-35
lines changed

‎book/installation.rst

Copy file name to clipboardExpand all lines: book/installation.rst
+37-35Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,26 @@ developing in immediately.
1414
If you're looking for instructions on how best to create a new project
1515
and store it via source control, see `Using Source Control`_.
1616

17-
Downloading a Symfony2 Distribution
18-
-----------------------------------
17+
Installing a Symfony2 Distribution
18+
----------------------------------
1919

2020
.. tip::
2121

22-
First, check that you have installed and configured a Web server (such
23-
as Apache) with PHP 5.3.3 or higher. For more information on Symfony2
24-
requirements, see the :doc:`requirements reference</reference/requirements>`.
25-
For information on configuring your specific web server document root, see the
26-
following documentation: `Apache`_ | `Nginx`_ .
22+
First, check that you have installed and configured a Web server (such as
23+
Apache) with the most recent PHP version possible (PHP 5.3.8 or newer is
24+
recommended). For more information on Symfony2 requirements, see the
25+
:doc:`requirements reference</reference/requirements>`. For information on
26+
configuring your specific web server document root, see the following
27+
documentation: `Apache`_ | `Nginx`_ .
2728

2829
Symfony2 packages "distributions", which are fully-functional applications
2930
that include the Symfony2 core libraries, a selection of useful bundles, a
3031
sensible directory structure and some default configuration. When you download
3132
a Symfony2 distribution, you're downloading a functional application skeleton
3233
that can be used immediately to begin developing your application.
3334

35+
36+
3437
Start by visiting the Symfony2 download page at `http://symfony.com/download`_.
3538
On this page, you'll see the *Symfony Standard Edition*, which is the main
3639
Symfony2 distribution. Here, you'll need to make two choices:
@@ -99,34 +102,33 @@ Symfony itself - into the ``vendor/`` directory.
99102

100103
.. note::
101104

102-
If you don't have ``curl`` installed, you can also just download the ``installer``
103-
file manually at http://getcomposer.org/installer. Place this file into your
104-
project and then run:
105+
If you don't have ``curl`` installed, you can also just download the ``installer``
106+
file manually at http://getcomposer.org/installer. Place this file into your
107+
project and then run:
108+
109+
.. code-block:: bash
105110
106-
.. code-block:: bash
111+
php installer
112+
php composer.phar install
107113
108-
php installer
109-
php composer.phar install
110-
111114
.. tip::
112115

113-
When running ``php composer.phar install`` or ``php composer.phar update``, composer will execute
114-
post install/update commands to clear the cache and install assets. By default, the assets will be
115-
copied into your ``web`` directory. To create symlinks instead of copying the assets, you
116-
can add an entry in the ``extra`` node of your composer.json file with the key ``symfony-assets-install``
117-
and the value ``symlink``:
118-
119-
.. code-block:: json
120-
121-
"extra": {
122-
"symfony-app-dir": "app",
123-
"symfony-web-dir": "web",
124-
"symfony-assets-install": "symlink"
125-
}
126-
127-
When passing ``relative`` instead of ``symlink`` to symfony-assets-install, the command will generate
128-
relative symlinks.
129-
116+
When running ``php composer.phar install`` or ``php composer.phar update``, composer will execute
117+
post install/update commands to clear the cache and install assets. By default, the assets will be
118+
copied into your ``web`` directory. To create symlinks instead of copying the assets, you
119+
can add an entry in the ``extra`` node of your composer.json file with the key ``symfony-assets-install``
120+
and the value ``symlink``:
121+
122+
.. code-block:: json
123+
124+
"extra": {
125+
"symfony-app-dir": "app",
126+
"symfony-web-dir": "web",
127+
"symfony-assets-install": "symlink"
128+
}
129+
130+
When passing ``relative`` instead of ``symlink`` to symfony-assets-install, the command will generate
131+
relative symlinks.
130132

131133
Configuration and Setup
132134
~~~~~~~~~~~~~~~~~~~~~~~
@@ -169,9 +171,9 @@ If there are any issues, correct them now before moving on.
169171
170172
**2. Using Acl on a system that does not support chmod +a**
171173

172-
Some systems don't support ``chmod +a``, but do support another utility
174+
Some systems don't support ``chmod +a``, but do support another utility
173175
called ``setfacl``. You may need to `enable ACL support`_ on your partition
174-
and install setfacl before using it (as is the case with Ubuntu), like
176+
and install setfacl before using it (as is the case with Ubuntu), like
175177
so:
176178

177179
.. code-block:: bash
@@ -249,12 +251,12 @@ file:
249251

250252
.. code-block:: text
251253
252-
vendor/
254+
/vendor/
253255
254256
Now, the vendor directory won't be committed to source control. This is fine
255257
(actually, it's great!) because when someone else clones or checks out the
256258
project, he/she can simply run the ``php composer.phar install`` script to
257-
download all the necessary vendor libraries.
259+
install all the necessary project dependencies.
258260

259261
.. _`enable ACL support`: https://help.ubuntu.com/community/FilePermissionsACLs
260262
.. _`http://symfony.com/download`: http://symfony.com/download

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.