Symfony Project on shared hosting

Symfony Project on shared hosting



How to upload Symfony project to shared hosting (bluehost

– Create a folder outside the public folder (name folder whatever you want in my case I named it dot)
– upload file to that folder (dot folder)
– check the public html folder if there is .htacess and if it has then remove it
– move the files in “web” folder to public html or public directory
– change the configuration by going to the app/config folder and find file name parameters.yml and edit it ( change database name, username, password)
– find the file app.php in the “pubic html” folder and correct the path of
autoload.php and bootstrap.php.cache
– now delete folder “prod” in the var/cache directory (it would be better if you delete that folder before upload file to share hosting)

3 thoughts on “Symfony Project on shared hosting

  1. HOORRAYYYYY!!!!!!!! THAT WAS GREAT!!!!! THANK SSOOOOOOO MUCH!!!!!! THANKS FOR BRING US!!!!!!! THANKS..THANKS!!!!

  2. Stay away from shared hosting if you want to have good performance and security. I would rather suggest you to try out vps or cloud, they are a better option since you get dedicated server that you can scale anytime. If you don't have sysadmin skills to setup these servers, you can use managed platform, like Cloudways Symfony hosting , that gets you pre-installed servers so you don't have to worry about server management or sysadmin.

Leave a Reply

Your email address will not be published. Required fields are marked *