Symfony 4 was released on November 30th.
Update now to the best Symfony ever!

WARNING: You are browsing the documentation for Symfony 3.2 which is not maintained anymore. Consider upgrading your projects to Symfony 4.0.

Requirements for Running Symfony

Requirements for Running Symfony

Symfony 3.2 requires PHP 5.5.9 or higher to run, in addition to other minor requirements. To make things simple, Symfony provides a tool to quickly check if your system meets all those requirements.

Beware that PHP can define a different configuration for the command console and the web server, so you need to check requirements in both environments.

Checking Requirements for the Web Server

Symfony includes a config.php file in the web/ directory of your project. Open that file with your browser to check the requirements.

Once you've fixed all the reported issues, delete the web/config.php file 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:

1
2
$ cd my-project/
$ php bin/symfony_requirements

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.