diff --git a/deployment.rst b/deployment.rst index fef394ef256..bf5c07165b6 100644 --- a/deployment.rst +++ b/deployment.rst @@ -117,11 +117,12 @@ you'll need to do: A) Check Requirements ~~~~~~~~~~~~~~~~~~~~~ -Check if your server meets the requirements by running: +Check if your server meets the requirements by running the following command +provided by the ``symfony`` binary created when `installing Symfony`_: .. code-block:: terminal - $ php bin/symfony_requirements + $ symfony check:requirements .. _b-configure-your-app-config-parameters-yml-file: @@ -248,3 +249,4 @@ kernel and return your project's root directory:: .. _`Deployer`: http://deployer.org/ .. _`Git Tagging`: https://git-scm.com/book/en/v2/Git-Basics-Tagging .. _`EasyDeployBundle`: https://github.com/EasyCorp/easy-deploy-bundle +.. _`installing Symfony`: https://symfony.com/download diff --git a/reference/requirements.rst b/reference/requirements.rst index a252ee07bab..15d9a9e6ae1 100644 --- a/reference/requirements.rst +++ b/reference/requirements.rst @@ -29,14 +29,18 @@ to avoid leaking internal information about your application to visitors. Checking Requirements for the Command Console --------------------------------------------- -Open your console or terminal, enter in your project directory, execute this -command and fix the reported issues: +Open your console or terminal and run the following command provided by the +``symfony`` binary created when `installing Symfony`_: .. code-block:: terminal - $ cd my-project/ - $ php bin/symfony_requirements + # checks if your computer/server is ready to run Symfony projects + $ symfony check:requirements + + # use the --dir option to also check if some specific Symfony project is ready to be run + $ symfony check:requirements --dir=/path/to/my-project .. _`Symfony Standard Edition`: https://github.com/symfony/symfony-standard .. _`skeleton`: https://github.com/symfony/skeleton .. _`website-skeleton`: https://github.com/symfony/website-skeleton +.. _`installing Symfony`: https://symfony.com/download