Depends where you are. You can get a 59 day visa from the RP UK embassy before travelling but I think you have to apply in person. 21day to 59day upgrades are available at the airport or multitude of satellite Immigration offices doted around the country. Avoid Manila only for the queues. I help arrange this for my divers quite often in our local Tagbilaran office in Bohol. Cost is now about P3500 I think. You might be able to get a flight out of Clark to Malaysia for that but lots more hassle. Be aware if you go over 59days it then gets expensive....also you need shoes/long pants/shirt with collar to guarantee entry to their offices.