How to start PgSQL on FreeBSd to the port 5432
How to start PgSQL on FreeBSd to the port 5432
От:
arun kv <arun@library.iisc.ernet.in>
Дата:
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
Re: How to start PgSQL on FreeBSd to the port 5432
От:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Дата:
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 >