You are here

Install Symfony on Ubuntu

By Davinder
15 / Dec / 2015

As you all know drupal 8 is using Symfony Components. That is the main reason of switching to symfony.
While i was reading this book Symfony.
Here is the first article how to install Symfony on Ubuntu machine.Note: Don't copy the Dollar($) ofcourse.

This command creates a new directory called my_project_name that contains a fresh new project based on the most recent stable Symfony version available. In addition, the installer checks if your system meets the technical requirements to execute Symfony applications. If not, you'll see the list of changes needed to meet those requirements.

Please note there are different ways for creating a project in Symfony with other tools like Composer.

3. Running the Symfony Application

$ cd my_project_name

$ php bin/console server:run

Check by pointing to

http://localhost:8000

A welcome page will be there.

4. Stopping the Symfony Application

$ php bin/console server:stop

5. Configure the Symfony
Go to

http://localhost:8000/config.php

In my case i have to set the date.timezone i have done that with editing