How to start PgSQL on FreeBSd to the port 5432
am 02.09.2002 06:50:34 von arun kv
Hello,
We are using a FreeBSD 4.6.2 and on that have installed PostGreSQL
7.2 and PHP. We are able to start the PGSQL server but when we try to open
a database PHP using pg_connect command we get an error saying that
"pg_connect() is undefined on line no 10 in main.php".
We are able to start the server but are not able to connect to the
port.Pls anybody help me in getting the script to start the server to
the port.
Thanks
Arun
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Re: How to start PgSQL on FreeBSd to the port 5432
am 02.09.2002 07:03:16 von Christopher Kings-Lynne
You have not compiled PHP with postgres support. Reinstall the mod-php4
port with Postgres actually enabled.
Chris
> -----Original Message-----
> From: pgsql-php-owner@postgresql.org
> [mailto:pgsql-php-owner@postgresql.org]On Behalf Of arun kv
> Sent: Monday, 2 September 2002 12:51 PM
> To: PGSQL
> Subject: [PHP] How to start PgSQL on FreeBSd to the port 5432
>
>
> Hello,
> We are using a FreeBSD 4.6.2 and on that have installed PostGreSQL
> 7.2 and PHP. We are able to start the PGSQL server but when we try to open
> a database PHP using pg_connect command we get an error saying that
> "pg_connect() is undefined on line no 10 in main.php".
>
> We are able to start the server but are not able to connect to the
> port.Pls anybody help me in getting the script to start the server to
> the port.
>
> Thanks
> Arun
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org