Briefly:-
Type CNI into the search function, top right hand corner...You will require this.
Once you are in the Philippines & you have changed your CNI, for the Philippine version, you can apply for the marriage license, which will take 10 days.
Once gained, you are free to marry.
This answers the first part of your post.
Are you sure you've thought this through?
...It's a big step, to marry someone you've never met, then move to a difficult country, I'm assuming you've never visited?