Search code examples
javapythonopen-sourceserver-side

Why do most web hosting services support only PHP as the server-side language?


I have been working with Java and Python, so I found a nice web host which has support for these.

But my question is, why is it so hard to find such hosts?

I understand that PHP is easy, and I also understand that Oracle host is hard to find ($$$ of course), but what do they have against some good open-source, completely free Java Spring, JSP, Django, Python, Ruby on Rails, Perl, etc.?

It is so rare to find hosts ... not to mention freelancer bids.


Solution

  • With Java, hosting is more complicated. You can't just load mod_java and go, you need Tomcat or JBoss, or some other Servlet/JSP hosting environment, and they're non-trivial to configure and maintain.

    With Python, I think it's just that it's not as commonly used for web services. I use much more Python than PHP, but I don't tend to use it for web stuff, aside from the occasional Django site. (Mind you, the company I host my personal stuff with charges for Java, but offers Python for "free", the same as PHP).