Hi Philip, If your friend is planning to stay more than 21 days in the Phils then he will need to apply/extend a visa..
1. he can apply a visa in london before he go to Phils and it's less hasle. OR
2. he can extend his visa in Phils atleast 1 week before 21 days is over.
Hope this helps.