Hi again,
I've found another error::
No route to host Is the server running on host localhost and accepting TCP/IP connections
on port 5432 in /var/www/html/test.php on line
Connection Failed.
Another PostgreSQL/PHP error
Moderator: General Moderators
- Love_Daddy
- Forum Commoner
- Posts: 61
- Joined: Wed Jul 10, 2002 6:55 am
- Location: South Africa
- Contact:
If I'm not remebering wrong php connects through the tcp port (the error message idicates it too). Check your ph_hba.conf file, in debain i resides in /etc/postgres.
This file controles who and how who should be allowed to access the server. Check so there is a line looking like this:
This means that everyone (with a psql account) can connect from localhost.
Hope this helps!
This file controles who and how who should be allowed to access the server. Check so there is a line looking like this:
Code: Select all
host all 127.0.0.1 255.255.255.255 trustHope this helps!