RE: Postgres with php3

Поиск
Список
Период
Сортировка
От Joseph
Тема RE: Postgres with php3
Дата
Msg-id 000401bfdcfd$c726d230$050101c3@rodstaff.edu
обсуждение исходный текст
Ответ на Re: [GENERAL] Postgres with php3  ("Carsten Huettl" <CHUETTL@ahorn-Net.de>)
Список 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 по дате отправления:

Предыдущее
От: "Carsten Huettl"
Дата:
Сообщение: Re: [GENERAL] Postgres with php3
Следующее
От: Salvatore Sferrazza
Дата:
Сообщение: compilation issues