On Tue, 10 Feb 2004 20:14:08 -0800 Gordon Moyer <gmoyer@xxxxxxxxxxx> wrote: > 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?? i'd start out by looking in /etc/php.ini and making sure that the appropate lines for the postgresql libs are uncommented. this is a common glitch with php upgrades; the new php.ini gets installed and by default, postgresql is not enabled. richard -- Richard Welty rwelty@xxxxxxxxxxxxxxx Averill Park Networking 518-573-7592 Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security