Re: [GENERAL] Unable to connect to Postgresql - Mailing list pgsql-general

From rob stone
Subject Re: [GENERAL] Unable to connect to Postgresql
Date
Msg-id 1491790032.7940.6.camel@gmail.com
Whole thread Raw
In response to Re: [GENERAL] Unable to connect to Postgresql  (John Iliffe <john.iliffe@iliffe.ca>)
Responses Re: [GENERAL] Unable to connect to Postgresql  (John Iliffe <john.iliffe@iliffe.ca>)
List pgsql-general

On Sun, 2017-04-09 at 20:09 -0400, John Iliffe wrote:
>
> > 
> > You have Apache, PHP, and Postgres all running on your LAN at
> > 192.168.1.6.
> > 
> > 
> > You are on 192.168.1.10.
> > 
> > Your NOT doing "php -f testfcgi.php", so how does Apache "know" to
> run
> > that script?
>
> testfcgi.php is in the document root of the default named virtual
> server.
>

O.K.

So in sites-available, your conf file just tells Apache to run
testfcgi.php and nothing else?
There is no resolution required by obtaining the IP address from
/etc/hosts.

Are you able to put some trigger_error messages into testfcgi.php in
order to make sure Apache is running the correct program?

Cheers,
Rob


pgsql-general by date:

Previous
From: John Iliffe
Date:
Subject: Re: [GENERAL] Unable to connect to Postgresql
Next
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Unable to connect to Postgresql