Answer the question
In order to leave comments, you need to log in
How to deploy symfony 2 application to hosting?
Hello. There is a small symfony application on local hosting, it needs to be deployed to shared hosting. Unfortunately, I am unable to do this.
What I did:
Exported the database from the local server and imported it to the hosting server
Changed the database connection data in the /app/config/parameters.yml file
Renamed the web folder to public_html
Cleared the /app/cache/ folder
After all this, the server gives a 500 error.
Please tell me what am I doing wrong?
Answer the question
In order to leave comments, you need to log in
Many thanks to everyone who tried to help. The problem turned out to be so elementary. The hosting version was php 5.2. Changed to 5.4 and everything worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question