> However the /usr/lib/php/extensions directory *has* got the pgsql.so
> library file, so can anyone suggest what might be wrong? Or
> alternatively point me to somewhere better to ask?
Try one of the php lists. But check that the extension is enabled in the
php.ini first (uncomment the extension=pgsql.so line).
Matt