From 683180677e702cb7bf172036f7d2222ae5195f13 Mon Sep 17 00:00:00 2001 From: Dorian Villet Date: Sun, 17 Nov 2013 20:05:46 +0100 Subject: [PATCH 1/5] Fix PHP requirement in installation documentation Changed minimal PHP requirement from 5.3.8 to 5.3.3, as it's the version required in composer for symfony/symfony. If 5.3.8 (or higher) is the recommended one, I'll suggest to add a comment about it. --- book/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/installation.rst b/book/installation.rst index e01c0d942b8..3a92461c28d 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -20,7 +20,7 @@ Installing a Symfony2 Distribution .. tip:: First, check that you have installed and configured a Web server (such - as Apache) with PHP 5.3.8 or higher. For more information on Symfony2 + as Apache) with PHP 5.3.3 or higher. For more information on Symfony2 requirements, see the :doc:`requirements reference `. Symfony2 packages "distributions", which are fully-functional applications From c20a5b3fb60d6e709257c711935bb20d93af0efb Mon Sep 17 00:00:00 2001 From: Dorian Villet Date: Sun, 17 Nov 2013 20:24:21 +0100 Subject: [PATCH 2/5] Be more explicit that PHP 5.3.8 or higher is the recommendation --- book/installation.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/book/installation.rst b/book/installation.rst index 3a92461c28d..337a9c9622a 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -20,8 +20,9 @@ Installing a Symfony2 Distribution .. tip:: First, check that you have installed and configured a Web server (such - as Apache) with PHP 5.3.3 or higher. For more information on Symfony2 - requirements, see the :doc:`requirements reference `. + as Apache) with PHP >= 5.3.3 (5.3.8 or higher being highly recommended). For + more information on Symfony2 requirements, see the + :doc:`requirements reference `. Symfony2 packages "distributions", which are fully-functional applications that include the Symfony2 core libraries, a selection of useful bundles, a From bd74b3b2684534b3ce5c97c7efb5c2d9cf730b2e Mon Sep 17 00:00:00 2001 From: Dorian Villet Date: Sun, 17 Nov 2013 21:51:23 +0100 Subject: [PATCH 3/5] Keep the minimum viable info about PHP in the Book's installation chapter --- book/installation.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/book/installation.rst b/book/installation.rst index 337a9c9622a..a462d6141b1 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -20,8 +20,7 @@ Installing a Symfony2 Distribution .. tip:: First, check that you have installed and configured a Web server (such - as Apache) with PHP >= 5.3.3 (5.3.8 or higher being highly recommended). For - more information on Symfony2 requirements, see the + as Apache) with PHP. For more information on Symfony2 requirements, see the :doc:`requirements reference `. Symfony2 packages "distributions", which are fully-functional applications From 174a9f37bd8d540352d7345faf56d03d4c88fea3 Mon Sep 17 00:00:00 2001 From: Dorian Villet Date: Sun, 17 Nov 2013 21:53:17 +0100 Subject: [PATCH 4/5] Add a warning about PHP < 5.3.8 limitations in the requirements article --- reference/requirements.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/requirements.rst b/reference/requirements.rst index 39ddfa25a65..d3c1ca9ad59 100644 --- a/reference/requirements.rst +++ b/reference/requirements.rst @@ -24,6 +24,13 @@ Required * ctype needs to be enabled * Your ``php.ini`` needs to have the ``date.timezone`` setting +.. caution:: + + Be aware that Symfony2 has some known limitations when using PHP 5.3.8 + or below. For more information see the `Requirements section of the readme`_ + +.. _`Requirements section of the readme`: https://github.com/symfony/symfony#requirements + Optional -------- From 063ebef702e0f566b86d34ce167354211694c7c1 Mon Sep 17 00:00:00 2001 From: Dorian Villet Date: Sun, 17 Nov 2013 22:54:22 +0100 Subject: [PATCH 5/5] Fix linking to the requirements section. --- reference/requirements.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/requirements.rst b/reference/requirements.rst index d3c1ca9ad59..46568005ea1 100644 --- a/reference/requirements.rst +++ b/reference/requirements.rst @@ -29,8 +29,6 @@ Required Be aware that Symfony2 has some known limitations when using PHP 5.3.8 or below. For more information see the `Requirements section of the readme`_ -.. _`Requirements section of the readme`: https://github.com/symfony/symfony#requirements - Optional -------- @@ -55,3 +53,5 @@ Doctrine If you want to use Doctrine, you will need to have PDO installed. Additionally, you need to have the PDO driver installed for the database server you want to use. + +.. _`Requirements section of the readme`: https://github.com/symfony/symfony#requirements