Skip site navigation (1) Skip section navigation (2)

RE: Postgres with php3

From: "Joseph" <lters(at)mrtc(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: RE: Postgres with php3
Date: 2000-06-23 09:56:55
Message-ID: 000401bfdcfd$c726d230$050101c3@rodstaff.edu (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-novice
> In this situation of testing I start postgresql or the postmaster
> manually. It works. I can login. Create dbs and a smple of tables.
> But I cannot connct via the phpPGadmin thats the point of trouble.
>

I got it by doing the following:

Install postgres - Get it running, sounds like you got that.

Install apache - Get it running. Make sure you can make a html file and
display it.

Install php rpm and the php_pgsql rpm.

Edit your /etc/httpd/conf/httpd.conf, find the php file type entry.
I added html to the file so that php code works in regular html files.
Make sure that php3 file type is enabled.

Make a file with the php3 extension and put something like
<? echo "Hello World" ; ?> in it.

Joseph
IT Manager


In response to

pgsql-novice by date

Next:From: Salvatore SferrazzaDate: 2000-06-26 01:55:59
Subject: compilation issues
Previous:From: Carsten HuettlDate: 2000-06-23 09:53:09
Subject: FATAL 1: Database dbname=template1 does not exist in pg_database

pgsql-general by date

Next:From: Jim MercerDate: 2000-06-23 14:03:39
Subject: diff between 6.5.3 and 7.0.2 with SELECT/UPDATE
Previous:From: Carsten HuettlDate: 2000-06-23 09:53:09
Subject: FATAL 1: Database dbname=template1 does not exist in pg_database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group