Once symfony installer installed

After doing this; new project will be created with fresh download from source.

Change directory to project folder, change 2 permission of ‘log’ and ‘cache’

Run Symfony2’s server with

 

If everything is OK, you’ll see…

 

In case of date.timezone setting problem like above;

Symfony\Component\Debug\Exception\ContextErrorException]Warning: date_default_timezone_get(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone.

 

First method (recommended): Edit system’s php.ini (not the MAMP’s one) by this terminal command.

Find “date.timezone” setting with Ctrl+W. Edit the empty setting above

with..

(or whatever “Europe/Berlin” etc.)

 

Second method (you should do for each project): Add this function into AppKernel.php