Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432? in E:\SMCCAPITALS\config.php on line 25
not connected
Fatal error: Uncaught TypeError: pg_query(): Argument #1 ($connection) must be of type PgSql\Connection, bool given in E:\SMCCAPITALS\index.php:7
Stack trace:
#0 E:\SMCCAPITALS\index.php(7): pg_query()
#1 {main}
thrown in E:\SMCCAPITALS\index.php on line 7