RE: Postgres with php3 - Mailing list pgsql-novice

From Joseph
Subject RE: Postgres with php3
Date
Msg-id 000401bfdcfd$c726d230$050101c3@rodstaff.edu
Whole thread Raw
In response to Re: [GENERAL] Postgres with php3  ("Carsten Huettl" <CHUETTL@ahorn-Net.de>)
List 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


pgsql-novice by date:

Previous
From: "Carsten Huettl"
Date:
Subject: Re: [GENERAL] Postgres with php3
Next
From: Salvatore Sferrazza
Date:
Subject: compilation issues