Hi khimaaru,

Your friend cannot legally marry here in UK of the holder of a toursit visa.
She will need to return to the Philippines and make application from there.