On this page, we explain step by step how to setup Symfony 5 with CloudPanel.
When you Add the Domain, make sure to select the Symfony 5 Vhost Template and the right PHP Version.
Make sure to point the Document Root to the public directory.
To install Symfony do the following steps:
- Login via SSH to the server e.g. with john-ssh and go htdocs directory:
- Delete the project directory which has been created by CloudPanel:
- Install via composer:
- Reset permissions.
- Done! You can now open your domain in your browser to see Symfony 5 welcome page.