problems with a postgres connection script
| From: | Martin A. Marques | Date: | Tue, 07 Nov 2000 22:25:28 +0000 |
| Subject: | problems with a postgres connection script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24210@lists.php.net to get a copy of this message | ||
Hi I have this script which has problems connecting to the postgres backend.
Postgres is running and PHP can see. I have IMP (webmail) working with
Postgres on that server OK. This is the output I get on the apache error log:
[Tue Nov 7 19:18:22 2000] [error] PHP Warning: Unable to connect to
PostgreSQL server: connectDBStart() -- unknown hostname: ultra31,
in /space/http/html/pruebas/cargar.php on line 2
[Tue Nov 7 19:18:22 2000] [error] PHP Warning: Supplied argument is not a
valid PostgreSQL link resource in /space/http/html/pruebas/cargar.php on line
4
Any ideas?
--
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------