BUG #4651: Postgresql connection error with PHP 5.

Поиск
Список
Период
Сортировка
Искать

BUG #4651: Postgresql connection error with PHP 5.

От:
"Nitin" <nitin.yeole@aviontechnology.net>
Дата:
The following bug has been logged online:

Bug reference:      4651
Logged by:          Nitin
Email address:      nitin.yeole@aviontechnology.net
PostgreSQL version: PostgreSQL 8.3.
Operating system:   windows Xp
Description:        Postgresql connection error with PHP 5.
Details: 

hello ,

I got this error Please send me the best solution if possible ,i am working
on PHP 5 and 

My error is belong to connection file , when i execute the connection file i
got the error like ,


Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL
server: could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "PostgreSQL" and accepting TCP/IP connections
on port 5432? in C:\Program
Files\xampp\htdocs\RadioStation\include\DbConnection.php on line 79.



 this project is on my local host , so please send me best solution ,Best
solution is appreciated in advance.

Thanks,
Nitin.

Re: BUG #4651: Postgresql connection error with PHP 5.

От:
"Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Дата:
>>> "Nitin"  wrote: 
> Is the server running on host "PostgreSQL" and
> accepting TCP/IP connections on port 5432?
 
This is very unlikely to be a bug, so a better list would have been
general or admin.
 
You probably haven't configured connections properly for your intended
use.  Start with this page:
 
http://www.postgresql.org/docs/8.3/interactive/runtime-config-connection.html
 
Note that the default value for listen_addresses doesn't allow TCP/IP
connections.
 
-Kevin
FAQ