Searching for some good eBooks concerning PHP, Ruby on Rails, MySQL etc

I want to get a bit more into back-end development, hence I would love to learn more about PHP, Ruby on Rails and MySQL. I have the basic knowledge of how to write php code for example, but not much of real world experience in these particular fields.
Does anyone know any good eBooks concerning these fields that explain the usage of these programming languages with examples?