I am thinking about shifting from PHP to Rails. Does a typical hosting company offer the Ruby language and exactly what Rails needs? Does an ordinary Rails application using MySQL or will it handle data in a different way? And it is it as being "easy" to obtain an application ready to go, as PHP?
No, the typical shared webhost provider doesn't since most are preconfigured with Light and Ruby usually is not installed, but RoR support is rising.
However, if you are thinking about a devoted/vps (unmanaged) then you definitely virtually can perform anything you want ( I would suggest slicehost/linode if you're searching for a vps as well as your finances are around $20/mo ).
A good web application ( ROR ) are designed for various kinds of DBMS's including MySQL, PostgreSQL, SQLite.
What's your financial allowance? How large will your website be?
Does a typical hosting company offer the Ruby language and exactly what Rails needs?
No. Many hosts have still in the future aboard with this particular. If you are searching for cheap hosting that is shared, I'd suggest http://railsplayground.com/
Does an ordinary Rails application using MySQL or will it handle data in a different way?
Rails is database agnostic. You are able to connect with SQLITE, MySQL, PostgreSQL, Oracle and much more.
And it is it as being "easy" to obtain an application ready to go, as PHP?
Subjective. I'd refuse. If you are searching for painless rails deployment with Apache or nginx I'd need to suggest using Phusion Passenger also known as modrails.
I am thinking about shifting from PHP to Rails. Does a typical hosting company offer the Ruby language and exactly what Rails needs?
I'd say yes. I can not be sure in case your "average" host will support it, but you will find 1000's that, so you will have a wide range to select from.
Does a normal Rails application using MySQL or does it handle data in a different way?
You should use MySQL, that is common, along with other DB systems, also it will not affect your code because it utilizes a DBA layer.
And it is it as "easy" to obtain an application up and running, as PHP?
Is dependent in your platform, but yes :)
The short response is that although lots of website hosting companies do support Ruby on Rails, it's not as much as support PHP due to the fact PHP has existed considerably longer and it is competent.
That being stated, it's not difficult to find a provider that does.
Lots of Rails programs use MySQL so support for your is extremely strong, but you will find easy choices for Postgres and several other popular RDBMS platforms. Rails does handle MySQL data in a different way because there's ActiveRecord, the item Relational Mapper (ORM), which simplifies many of the SQL calls you have to make into standard Ruby procedures. PHP has similar frameworks, for example CakePHP, but these aren't as commonplace.
I'd recommend checking using the host themselves before signing up/buying the program, but many hosts are beginning to aid rails.