Warning: pg_connect(): Unable to connect to PostgreSQL server: connection to server at "127.0.0.1", port 5432 failed: Permission denied Is the server running on that host and accepting TCP/IP connections? in /var/www/delta/dse/includes/db.php on line 6

Fatal error: Uncaught TypeError: pg_prepare(): Argument #1 ($connection) must be of type PgSql\Connection, false given in /var/www/delta/dse/includes/db.php:13 Stack trace: #0 /var/www/delta/dse/includes/db.php(13): pg_prepare() #1 /var/www/delta/dse/header.php(5): require_once('...') #2 /var/www/delta/dse/index.php(6): include('...') #3 {main} thrown in /var/www/delta/dse/includes/db.php on line 13