Just a few comments as the owner of a small software company:
1. I can't speak for the rest of the industry, but we're currently struggling to find sufficient decent php developers. There's much more demand than supply. Same goes for several other areas that we work in, including mobile app developers.
2. We're currently working with some of the local community colleges in our area to build programs that train people in areas that are particularly "hot" at the moment. That includes the broad spectrum of "open source", and particularly web platforms like Drupal. Good Drupal developers make a decent amount of money these days. I know because I sign the cheques.
3. With regards to offshoring - I've tried on a number of occasions to open up shop in places where labour costs are cheaper. I eventually gave up because of the frustration of trying to manage across time zones and cultural/language gaps. That could be an issue of my team's ability to manage people in general, but I've spoke to enough other people with the same issues. As a result, I find it _cheaper_ to hire North American developers for real salaries.
Net result as I see it - if a) you have a palette of a few development skills that are commonly used, b) you write clean, maintainable code, and c) you're willing to learn new things as you go along, I don't see any reason why you would have trouble finding well paying work anywhere in the world.