If you apply for a fiance visa and are successful, then you will need to marry within 6 months in the UK. If you plan to get married in the Philippines, you should get married first, then apply for a spouse visa if you wish to live in the UK with your husband/wife.
Cheers