PHP & Postgresql: Call to undefined function: pg_connect()

Gordon Moyer gmoyer at aracnet.com
Wed Feb 11 05:41:16 UTC 2004


...But when I do a "locate pgsql.so" it returns nothing.  Could there
possibly be something wrong with the rpm install?

gm

-----Original Message-----
From: Gordon Moyer [mailto:gmoyer at aracnet.com]
Sent: Tuesday, February 10, 2004 9:38 PM
To: fedora-list at redhat.com
Subject: RE: PHP & Postgresql: Call to undefined function: pg_connect()


executing "rpm -q php-pgsql" does bring back the package
php-pgsql-4.3.4-1.1.386.rpm.

-----Original Message-----
From: fedora-list-admin at redhat.com
[mailto:fedora-list-admin at redhat.com]On Behalf Of Aaron Matteson
Sent: Tuesday, February 10, 2004 8:31 PM
To: fedora-list at redhat.com
Subject: Re: PHP & Postgresql: Call to undefined function: pg_connect()


Gordon Moyer became daring and sent these 0.4K bytes,
> I upgraded from 7.2 to Fedora about two months ago.  I am current on
update
> packages.
>
> I'm trying to run postgresql with PHP and am getting error:  Call to
> undefined function: pg_connect().
>
> >From phpinfo(): '--with-pgsql=shared'.
>
> What's wrong??

Check to see if php-pgsql is installed via: "rpm -q php-pgsql" and if it
does not throw anything back in the console (as root) you will need to
install that package.

--
Aaron Matteson - http://cryptosystem.us - JID: mindstorm at jabber.avlug.org
--------------------------------------------------------------------------
The essential feature of complex behavior is the ability to perform
transitions between different states ... Complexity is concerned with
systems in which evolution, and hence history plays or has played an
important role in the observed behavior.


--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





More information about the fedora-list mailing list