From: | John Iliffe <john(dot)iliffe(at)iliffe(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Cc: | Rick Widmer <pgsql(at)rickwidmer(dot)com> |
Subject: | Re: Unable to connect to Postgresql |
Date: | 2017-04-10 23:29:31 |
Message-ID: | 201704101929.32092.john.iliffe@iliffe.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thanks for the idea Rick. It hadn't occurred to me; might have at about
the 200th page :-(
John
=====================================
On Monday 10 April 2017 16:46:14 Rick Widmer wrote:
> On 4/10/2017 2:23 PM, John Iliffe wrote:
> > On Monday 10 April 2017 11:53:35 Daniel Verite wrote:
> >> John Iliffe wrote:
> >> Given that you set two directories: /tmp and /var/pgsql,
> >> I would think you can let the other apps use /tmp as before
> >> and have only Apache use /var/pgsql ?
> >
> > Yes, I will do that, but there are several hundred PHP web page
> > scripts to be updated. Presumably if one script opens two different
> > databases then both of the pg_connect() instances will need to be
> > updated.
>
> How about creating a php file with the connect code, once, then
> including that file from all of the hundreds of web pages. It won't
> help much with the first set of changes, but it will help with
> portability later.
>
>
> Rick
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2017-04-10 23:37:43 | Re: Unable to connect to Postgresql |
Previous Message | rob stone | 2017-04-10 23:06:46 | Re: Unable to connect to Postgresql |