9951 explained code solutions for 126 technologies


php-symfonyHow to install PHP Symfony on Ubuntu?


  1. Install the Symfony installer using the following command:
$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
  1. Make the installer executable:
$ sudo chmod a+x /usr/local/bin/symfony
  1. Create a new Symfony project:
$ symfony new my_project_name
  1. Install the necessary dependencies:
$ cd my_project_name
$ composer install
  1. Start the built-in web server:
$ php bin/console server:run

Helpful links

Edit this code on GitHub