dave wrote: > Does anyone know what I should be doing? I'd like to try and keep this > as much RPM based as possible (i.e. I did think of downloading ALL > sources and compiling the lot, but I'd like to avoid that - I mean my > pgsql install works fine) In the RPM distribution of PostgreSQL, you need to point php to include /usr/include/pgsql -- and the libs are in /usr/lib. Or you can see the RPM's of php distributed with RedHat 6.2 and see the configure switches used in mod-php.spec (download the mod-php SRC rpm, rpm -i, cd to /usr/src/redhat/SPECS, that's where you'll find it.). For the reasons why the RPM is this way, see /usr/doc/postgresql-7.0.2/README.rpm, or see http://www.ramifordistat.net/postgres -- Lamar Owen RPM Package Maintainer, PostgreSQL Global Development Group WGCR Internet Radio 1 Peter 4:11