Search code examples
symfonydeploymenthostingshared

Symfony 2 on shared hosting?


I'm developing my app in Symfony 2, and one of the things that i have kept in mind is that symfony 2 have a lot of requirements. I know that in my pc works. But i've never tryed to deploy my app in a shared hosting. Is not that i want all the functionalities of the framework, i only need that the app works, and also the caching works.

  1. Do i need a special shared hosting or it can run in any hosting that have (of course) PHP and the Database Engine that i'm using?
  2. If i do, which shared hosting may I use?
  3. If i don't, do i need a special configuration?

Thanks in advanced.


Solution

  • You also want to be cautious for shared hosting servers that use separate php versions for CLI vs Apache. If this is the case, even though you can run parts of your application via ssh, you may not be able to run most of your Symfony2 application via http.

    I think you may be better off investing in a cheap VPS for Symfony2 development as it allows more flexibility and will ultimately save you more time. A lot of vps these days are almost as cheap as shared hosting anyway.