I am new in Testing software but tried little of Selenium for my starting

1) which one will be better for me to test Web pages (PHP & Ruby) ??

2) I prefer to use open source software.

3) I want something complete test suite (All kid of test included).

If this kind of category is available please refer me there.

Any kind of free online book available ?? I want to build up myself as a test expert and want to be the best any recommendation?

Thanks in advance