I am biased, I will admit, but neither of the choices you presented is optimal. If I were you I would opt for Python/Django. Let me explain why.<p>PHP is in a terrible state, they are working on cleaning it up but it will take some time. You should not abandon PHP yet, but neither should you rely on it. Also PHP's scope of use is extremely limited. Laravel is quite good, but having worked with it for a while I feel it gets very messy.<p>RoR is good if you want to puzzle together CRUD applications. But if you want to make something other than CRUD it gets in the way far too often. I am sure more experienced RoR users will jump in and holler "you just haven't gotten used to it yet!" like they usually do. Might sound like I am bashing their community, but truth be told, they are very supportive if you choose to join their club.<p>Django is in my experience the best documented framework for web development. There are so many batteries included that you will be hard pressed to find something you need to do that it won't do out of the box. Being a Python framework it will run on most operating systems out of the box for development purposes as they come with Python built in. You can use Python for any type of development you want
(Ruby can be used for any type as well, but have a lot more gotchas across environments)