checking whether to enable LIBXML support... yes checking libxml2 install dir... no configure: error: libxml2 version 2.5.10 or greater required. [root@gopi1 php-5.0.0RC2]#
That's a libxml error - nothing to do with postgres. Try the PHP mailing lists.
Chris