Rails vs PHP in resource usage

I'd like to know if Rails requires significantly more resources than PHP. Assume the following setups:

Rails: Apache 2.2 w/ Passenger MySQL Database

PHP: Apache 2.2 w/ MPM worker and Fast CGI MySQL Database

In one of my Rails apps running the above setup, I'm at roughly 80mb RAM idle, and for each person that visits the site roughly 10-20mb are taken for each. This seems like a lot and I was wondering if it continues to be like this. PHP seems to require less resources, but based on my limited experience I can't make a definite conclusion.


Could I get some details on why it does take more resources and what I can do to minimize resource usage as much as possible?

Here's a top-10 list of PHP frameworks:


It's about a year old. Which PHP framework are you wanting to compare to Ruby on Rails? As Marnen said, PHP in itself is a language whereas RoR is a framework. You can only compare PHP to Ruby if you are asking for a language to language comparison...

As for Ruby..


PHP Framework aims to speed up the creation and maintenance, and also to replace the repetitive coding tasks by power, control and pleasure. More PHP Framework you can view: http://www.phpkode.com/projects/category/php-development-framework/