[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting apache, PHP3, and PostgreSQL working together.

On Mon, Jul 17, 2000 at 08:21:05PM +0200, Remco Rijnders wrote:
> On Fri, Jul 14, 2000 at 09:10:47AM -0400, Andrew Sullivan wrote:
> > On Fri, Jul 14, 2000 at 09:15:01AM +0200, Remco Rijnders wrote:
> > 
> > > Fatal error: Call to unsupported or undefined function pg_connect() in
> > > lib.inc.php on line 90
> > 
> > Did you install the PostgreSQL package for PHP?  And did you turn it on in
> > the php[3].ini?
> Yes, it is called php3-pgsql if I am not mistaken. I have also checked
> to see that the file pgsql.so is in /usr/lib/php3/apache/ as where it
> should belong if I am not mistaken. I turned it on in php3.ini (see my
> original post) and have restarted the apache server.

did you try


before using any pgsql functions? (you have to do this 'cuz pgsql is loaded
as a module, not compiled into php interpreter).

hope that helps,

Alberto Brealey

Reply to: