发布于 2015-08-27 16:35:53 | 343 次阅读 | 评论: 0 | 来源: 网络整理
To run Symfony, 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:
$ php app/check.php
Below is the list of required and optional requirements.
php.ini needs to have the date.timezone setting警告
Be aware that Symfony has some known limitations when using PHP 5.3.16. For more information see the Requirements section of the README.
php.ini recommended settings
short_open_tag = Offmagic_quotes_gpc = Offregister_globals = Offsession.auto_start = OffIf 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.