Symfony is a PHP Web Development Framework.
Symfony:2.0.12
1.本地搭建好PHP開發環境; PHP5.3或以上
具體要求參照:http://symfony.com/get_started
2.下載 Symfony源代碼 下載版本:http://symfony.com/download?v=Symfony_Standard_Vendors_2.0.12.zip
注意:windows 下需要下載zip版本,
如果下載tgz版本 會報錯
'SymfonyComponentDependencyInjectionCompilerResolveDefinitionTemplatesPass'
not found in 。。。
http://stackoverflow.com/questions/5429658/symfony-2-error-in-configuration 這里是解決方法
3.解壓到某個目錄下,
檢測環境是否符合要求:http://localhost/Symfony/app/check.php
訪問demo:http://test.a.local/symfony/web/app_dev.php/demo/hello/World
這里有詳細的介紹:http://symfony.com/doc/current/quick_tour/the_big_picture.html
下一篇 2014 阿里在線筆試