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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Mercer | 2000-06-23 14:03:39 | diff between 6.5.3 and 7.0.2 with SELECT/UPDATE |
Previous Message | Carsten Huettl | 2000-06-23 09:53:09 | FATAL 1: Database dbname=template1 does not exist in pg_database |
From | Date | Subject | |
---|---|---|---|
Next Message | Salvatore Sferrazza | 2000-06-26 01:55:59 | compilation issues |
Previous Message | Carsten Huettl | 2000-06-23 09:53:09 | FATAL 1: Database dbname=template1 does not exist in pg_database |