Re: Why doesn't version 8.0.1 talk to php. Something I've

From: Frank Finner <postgresql(at)finner(dot)de>
To: "John Mohr" <jtmohr(at)healthconresources(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Why doesn't version 8.0.1 talk to php. Something I've
Date: 2005-04-25 18:57:23
Message-ID: 20050425205723.585467d9.postgresql@finner.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Mon, 25 Apr 2005 11:13:30 -0500 "John Mohr"
<jtmohr(at)healthconresources(dot)com> thought long, then sat down and wrote:

> I've discovered that version 8.0.1 of postgresql does not, or at least
> as I had it configured, talk to php. Backing up to 7.4.7 does. Is the
> reason that it simply does not yet, or do I have something wrong in
> the config. If not yet, when?
>
> Versions are:
> httpd-2.0.54 (apache2)
> php-5.0.4
> postgresql-8.0.1 (& 7.4.7)
>

Did you activate TCP/IP connections? In postgresql.conf:

#----------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#----------------------------------------------------------------------

# - Connection Settings -

listen_addresses = '*' # what IP interface(s) to listen on;
# defaults to localhost, '*' = any

Syntax differs between earlier releases and 8.x.

Regards,
--
Frank Finner

Invenius - Lösungen mit Linux
Köpfchenstraße 36
57072 Siegen
Telefon: 0271 231 8606 Mail: frank(dot)finner(at)invenius(dot)de
Telefax: 0271 231 8608 Web: http://www.invenius.de
Key fingerprint = 90DF FF40 582E 6D6B BADF 6E6A A74E 67E4 E788 2651

In response to

Browse pgsql-php by date

  From Date Subject
Next Message bruce 2005-04-25 22:09:11 starting/running postgres...
Previous Message Michael Fuhr 2005-04-25 18:49:10 Re: Why doesn't version 8.0.1 talk to php. Something I've done?