Just a quick successful report of getting all these things to work on an e-smith (5.1.2).
To begin with, I installed these three rpms (downloaded them thru rpmfind.net - using the RH7.1 versions):
postgresql-7.0.3-8
postgresql-server-7.0.3-8
postgresql-odbc-7.0.3-8 (might not need this one unless you need odbc)
This all went fine, so next I installed the php-pgsql-4.0.4pl1-9 rpm. Note, I haven't applied the upgrade to php 4.0.6. If I had, I'm not sure this rpm would've installed. The latest version of this rpm is php-pgsql-4.0.6-14, however the php version on the e-smith update FTP is php-4.0.6-7es4. These two different versions may cause a conflict. If so, you might be able to grab the php-4.0.6-14 rpm (plus any extentions) to get it to work.
Next, I had to enable postgres support in the php.ini. This is pretty easy: just edit /etc/php.ini and uncomment (remove the leading ';') the line that says:
extension=pgsql.so
You then have to restart apache. At this point you can start the postgres server with
/etc/init.d/postgresql start
Finally, I untarred the phpPgAdmin package into a directory with web access, and edited the config file as per the INSTALL documentation.
Hope that's useful to someone
