Sounds like you need to build PHP from source. Basically, download the source from www.php.net
and run ./configure (with the correct parameters, including --with-pfpro or whatever) then make, and finalle make install. I've done this several times, and it's really not so hard. There's a guide to it on www.php.net
-- I'd suggest going through it, and ask if you have questions.