Skip to content

Commit ccca18b

Browse files
committed
Merge branch '4.2'
* 4.2: Update requirements.rst Added SymfonyCloud to the list of deployment services Removed an unneeded article Create a "Clever cloud" deployment section
2 parents 81bcdbd + b7387db commit ccca18b

File tree

2 files changed

+42
-5
lines changed

2 files changed

+42
-5
lines changed

deployment.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ Using Platforms as a Service
6666
Using a Platform as a Service (PaaS) can be a great way to deploy your Symfony app
6767
quickly and easily. There are many PaaS - below are a few that work well with Symfony:
6868

69+
* `Symfony Cloud`_
6970
* `Heroku`_
7071
* `Platform.sh`_
7172
* `Azure`_
7273
* `fortrabbit`_
74+
* `Clever Cloud`_
7375

7476
Using Build Scripts and other Tools
7577
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -264,3 +266,5 @@ Learn More
264266
.. _`Azure`: https://azure.microsoft.com/en-us/develop/php/
265267
.. _`fortrabbit`: https://help.fortrabbit.com/install-symfony
266268
.. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle
269+
.. _`Clever Cloud`: https://www.clever-cloud.com/doc/php/tutorial-symfony/
270+
.. _`Symfony Cloud`: https://symfony.com/doc/master/cloud/intro.html

reference/requirements.rst

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,41 @@
66
Requirements for Running Symfony
77
================================
88

9-
Symfony 4 requires **PHP 7.1.3** or higher to run, in addition to other minor
10-
requirements. To make things simple, Symfony provides a tool to quickly check if
11-
your system meets all those requirements. Run this command to install the tool:
9+
These are the technical requirements to run Symfony 4 applications:
10+
11+
* **PHP version**: 7.1.3 or higher
12+
* **PHP extensions**: (all of them are installed and enabled by default in PHP 7+)
13+
14+
* `Ctype`_
15+
* `iconv`_
16+
* `JSON`_
17+
* `PCRE`_
18+
* `Session`_
19+
* `SimpleXML`_
20+
* `Tokenizer`_
21+
22+
* **Writable directories**: (must be writable by the web server)
23+
24+
* The project's cache directory (``var/cache/`` by default, but the app can
25+
:ref:`override the cache dir <override-cache-dir>`)
26+
* The project's log directory (``var/log/`` by default, but the app can
27+
:ref:`override the logs dir <override-logs-dir>`)
28+
29+
Checking Requirements Automatically
30+
-----------------------------------
31+
32+
To make things simple, Symfony provides a tool to quickly check if your system
33+
meets these requirements. In addition, the tool provides recommendations if
34+
applicable.
35+
36+
Run this command to install the tool:
1237

1338
.. code-block:: terminal
1439
1540
$ cd your-project/
1641
$ composer require symfony/requirements-checker
1742
18-
Beware that PHP can define a different configuration for the command console and
43+
Beware that PHP may use different configurations for the command console and
1944
the web server, so you need to check requirements in both environments.
2045

2146
Checking Requirements for the Web Server
@@ -38,4 +63,12 @@ Checking Requirements for the Command Console
3863

3964
The requirements checker tool adds a script to your Composer configuration to
4065
check the requirements automatically. There's no need to execute any command; if
41-
there is any issue, you'll see them in the console output.
66+
there are any issues, you'll see them in the console output.
67+
68+
.. _`iconv`: https://php.net/book.iconv
69+
.. _`JSON`: https://php.net/book.json
70+
.. _`Session`: https://php.net/book.session
71+
.. _`Ctype`: https://php.net/book.ctype
72+
.. _`Tokenizer`: https://php.net/book.tokenizer
73+
.. _`SimpleXML`: https://php.net/book.simplexml
74+
.. _`PCRE`: https://php.net/book.pcre

0 commit comments

Comments
 (0)