Hello.
I read that in the forum, I'm putting it back here cause it's an old one :
---
Author: SamC (mutant_one_AT_yahoo.com)
Date: 04-03-02 00:41
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

---
I tried to follow the howto described in this message, yet I get the following message :
---
[root@server postgres]# rpm -ivh php-pgsql-4.0.4pl1-9.i386.rpm
error: failed dependencies:
php = 4.0.4pl1-9 is needed by php-pgsql-4.0.4pl1-9
---
I run SME5.1.2_update1.
the php version is php-4.0.6-7es4.
Does anyone know what I can do to fix that, I really need it to work... please help !
I tried to force, but the restart of the httpd service gave me that :
---
[root@server postgres]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: PHP Warning: Unable to load dynamic library '/usr/lib/php4/pgsql.so' - libpq.so: cannot open shared object file: No such file or directory in Unknown on line 0
[ OK ]
---
thx in advance for giving a little hand...
Frej.