PostgreSQL access not working in PHP.

Alexander Dalloz ad+lists at uni-x.org
Wed Mar 23 17:30:33 UTC 2005


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


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 18:26:25 up 6 days, 16:22, load average: 0.43, 0.41, 0.42 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050323/557de6f1/attachment-0001.sig>


More information about the fedora-list mailing list