P
P
Pavel Novikov2019-06-09 16:45:34
symfony
Pavel Novikov, 2019-06-09 16:45:34

How to upload a Symfony 4 project to the server?

Good afternoon, I have a project on symphony 4 and hosting with a public_html public directory.
The question is, where exactly should the project files be?
At the moment, the entire site is in public_html, but in order to enter the site, you need to submit public to the URL (site.com/public/about)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Flying, 2019-06-09
@paulfcdd

You can find a detailed answer to your question in the Symfony documentation . Also note that the public directory of the project can be changed, how this is done is described here .
In general, of course, using hostings with a fixed directory structure for Symfony projects is not a good idea, for example, not all of them provide normal access to the console. It's best to use a VPS whenever possible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question