Table of Contents
Questions & Feedback
Found a typo or an error?
Want to improve this document? Edit it.
Need support or have a technical question?
Post to the user mailing-list.
Master Symfony2 fundamentals
Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com
Symfony hosting done right
ServerGrove, outstanding support at the right price for your Symfony hosting needs.
servergrove.com
Discover the SensioLabs Support
Access to the SensioLabs Competency Center for an exclusive and tailor-made support on Symfony
sensiolabs.com
2.3 version
Requirements for running Symfony2
Requirements for running Symfony2¶
To run Symfony2, your system needs to adhere to a list of requirements. You can
easily see if your system passes all requirements by running the web/config.php
in your Symfony distribution. Since the CLI often uses a different php.ini
configuration file, it's also a good idea to check your requirements from
the command line via:
1 | $ php app/check.php
|
Below is the list of required and optional requirements.
Required¶
- PHP needs to be a minimum version of PHP 5.3.3
- JSON needs to be enabled
- ctype needs to be enabled
- Your PHP.ini needs to have the date.timezone setting
Optional¶
- You need to have the PHP-XML module installed
- You need to have at least version 2.6.21 of libxml
- PHP tokenizer needs to be enabled
- mbstring functions need to be enabled
- iconv needs to be enabled
- POSIX needs to be enabled (only on *nix)
- Intl needs to be installed with ICU 4+
- APC 3.0.17+ (or another opcode cache needs to be installed)
- PHP.ini recommended settings
short_open_tag = Offmagic_quotes_gpc = Offregister_globals = Offsession.auto_start = Off
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.





is a trademark of Fabien Potencier. All rights reserved.