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

2000-07-18 Thread Remco Rijnders
In article [EMAIL PROTECTED], Alberto Brealey wrote: Fatal error: Call to unsupported or undefined function pg_connect() in lib.inc.php on line 90 did you try dl(pgsql.so); before using any pgsql functions? (you have to do this 'cuz pgsql is loaded as a module, not compiled into php

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

2000-07-18 Thread Andrew Sullivan
On Tue, Jul 18, 2000 at 05:31:15AM +0200, Remco Rijnders wrote: So now with the cause pinned down, what can I do to fix this? I'd like to run potato on this machine but really need version 7.* of postgreSQL because of the foreign key support. Would upgrading just the php3-pgsql package work,

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

2000-07-18 Thread Remco Rijnders
In article [EMAIL PROTECTED], Andrew Sullivan wrote: On Tue, Jul 18, 2000 at 05:31:15AM +0200, Remco Rijnders wrote: So now with the cause pinned down, what can I do to fix this? I'd like to run potato on this machine but really need version 7.* of postgreSQL because of the foreign key

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

2000-07-17 Thread Remco Rijnders
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

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

2000-07-17 Thread Alberto Brealey
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

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

2000-07-17 Thread Remco Rijnders
On Mon, Jul 17, 2000 at 03:14:05PM -0400, Andrew Sullivan wrote: 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

Getting apache, PHP3, and PostgreSQL working together.

2000-07-14 Thread Remco Rijnders
Hello all, I am trying to get apache, PHP3, and PostgreSQL to work together on my Potato machine. I want to use the phpPgAdmin to give me a web accessible interface to the PostgreSQL database. However trying to use it gives me the following error: Fatal error: Call to unsupported or undefined

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

2000-07-14 Thread John Pearson
On Fri, Jul 14, 2000 at 09:15:01AM +0200, Remco Rijnders wrote Hello all, I am trying to get apache, PHP3, and PostgreSQL to work together on my Potato machine. I want to use the phpPgAdmin to give me a web accessible interface to the PostgreSQL database. However trying to use it gives me

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

2000-07-14 Thread Remco Rijnders
In article [EMAIL PROTECTED], John Pearson wrote: I am trying to get apache, PHP3, and PostgreSQL to work together on my Potato machine. I want to use the phpPgAdmin to give me a web accessible interface to the PostgreSQL database. However trying to use it gives me the following error:

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

2000-07-14 Thread Andrei Ivanov
All apache needs at this point is the php module. I assume you have that. But you also need php with postgreSQL support, which is not there by default. apt-get it ( I dont know the name of it, but this was a case for me when I was getting mysql to work with php), and you should be fine. Andrei