The only thing I can really comment on is this: PHP is bascially a DSL for the web, whereas the other three (Perl, Ruby, Python) are more general-purpose languages that have no specific domain, although all are definitely web-capable.
In terms of your second bullet point, I think PHP will probably be the worst choice out of your list.