{"id":626,"date":"2013-02-05T03:40:44","date_gmt":"2013-02-05T03:40:44","guid":{"rendered":"http:\/\/invisiblezero.net\/?p=316"},"modified":"2013-02-05T03:40:44","modified_gmt":"2013-02-05T03:40:44","slug":"symfony-2-installation-guide","status":"publish","type":"post","link":"http:\/\/ndthanh.com\/symfony-2-installation-guide\/","title":{"rendered":"Symfony 2 installation guide"},"content":{"rendered":"
Required<\/p>\n
<\/p>\n
Optional<\/p>\n
PHP.ini recommended settings<\/p>\n
short_open_tag = Off<\/p>\n
magic_quotes_gpc = Off<\/p>\n
register_globals = Off<\/p>\n
session.autostart = Off<\/p>\n
Doctrine<\/p>\n
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.<\/p>\n
——-<\/p>\n
set permission :<\/p>\n
\nrm -rf app\/cache\/*\nrm -rf app\/logs\/*\n\nsudo chmod +a "www-data allow delete,write,append,file_inherit,directory_inherit" app\/cache app\/logs\nsudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app\/cache app\/logs\nwww-data = _www\n\n`whoami` = <current user name>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Required \u00a0\u00a0\u00a0 PHP needs to be a minimum version of PHP 5.3.2 \u00a0\u00a0\u00a0 Sqlite3 needs to be enabled \u00a0\u00a0\u00a0 JSON needs to be enabled \u00a0\u00a0\u00a0 ctype needs to be enabled \u00a0\u00a0\u00a0 Your PHP.ini needs to have the date.timezone setting Optional \u00a0\u00a0\u00a0 PHP-intl \u00a0\u00a0\u00a0 You need to have the PHP-XML module installed \u00a0\u00a0\u00a0 You need to…<\/p>\n