PostgreSQL access not working in PHP.

Neil Dugan fedora at butterflystitches.com.au
Wed Mar 23 23:47:03 UTC 2005


On Wed, 2005-03-23 at 18:30 +0100, Alexander Dalloz wrote:
> Am Mi, den 23.03.2005 schrieb Neil Dugan um 4:14:
> 
> > > > phpinfo() says that the 'configure command'
> > > > includes '--with-pgsql=shared'
> 
> This does not mean the PHP part is there on your system. PHP is split
> into several packages and not one monolithic package. Please see the
> package list.
> 
> > > just for fun...
> > > 
> > > did you install php-pgsql ? 'rpm -q php-pgsql'
> > > 
> > 
> > Says package not installed.
> > BUT the file 'php-pgsql-4.3.10-3.2.i386.hdr' is in '/var/spool/up2date'
> > directory.
> 
> The .hdr (header) files are fetched for each repository you did
> configure for up2date. They are downloaded regardless of what you really
> have installed so far. They are used to evaluate dependencies of
> packages. You will find a lot of .hdr files in the up2date spool
> directory for RPMs which you do not have installed on your system
> actually.
> 
> As the others already told you: you will have to install the php-pgsql
> RPM: up2date-nox -i php-pgsql.
> 
> Alexander

Thanks for the info Alexander as recommended by Craig, I did install the
php-pgsql package.  I used 'yum'.  This has fixed the problem, every
thing seems to be working fine now.

Neil





More information about the fedora-list mailing list