2.8.4.1.1. Install Symfony

  1. Set the required versions of PHP:
  2. Connect to the hosting via SSH.
  3. Execute the commands:
    composer create-project symfony/skeleton ~/example.com/www
    cd ~/example.com/www
    composer require webapp

    In the commands, replace ~/example.com/www with the path to your site's directory. During installation, when prompted with the question "Do you want to include Docker configuration from recipes?", enter x.

  4. Change the root directory of the site to public.
  5. Open the site in your browser and make sure the welcome page appears.
Content

    (1)