The only issue will be "Which Gate". PHL is a very wide airport, and it can take 10 minutes to get from one spine to another. The OP's 2 hours will, I'm sure, be fine.
(Never 'immigrated' there, though - have always arrived ex-DUB with pre-clearance.)