Gerardo Soriano
Gerardo Soriano

Reputation: 69

How to upload my Symfony project to shared hosting?

I have a Symfony 3 app that I need to deploy to a shared hosting server - hostgator. I have copied all of the contents from the web folder into the public_html folder. I also copied all the other folders on the root of my directory. However, I does not run.

Upvotes: 1

Views: 635

Answers (1)

Alvin Bunk
Alvin Bunk

Reputation: 7764

Did you check the proper permissions in particular the var/ folder, this is described on this page.

Also, if they use apache, you will have to set the owner:group of the web folder properly.

In Linux that is done easily by this command (from the root folder):

$ chown -R apache:apache web/

Try that out (you might need sudo access to run chown).

Upvotes: 1

Related Questions