On Wednesday, August 11th, 2021 at 3:09 PM, Adrian Klaver 
<adrian.kla...@aklaver.com> wrote:

>
> Is the Web server/PHP app on the same machine as the Postgres server?
>

All programs about this question are installed on a single computer; the 
intention is to test and learn first on a local machine.

> If it is on the same machine what happens if you do?:
>
> $dbconn = pg_connect("dbname=cpacweb user=cpaca") or die("Could not
>
> connect");
>

Am happy to report that connection looks successful, because the php web page 
now reports:

"
        Connection status ok
"

Thank you all very much for the help. Hope that other novices benefit too! :)




Reply via email to