PHP/Postgres Problem
| From: | Matt MacLeod | Date: | Thu, 24 Apr 2003 09:42:56 +0000 |
| Subject: | PHP/Postgres Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145130@lists.php.net to get a copy of this message | ||
I get the following error when trying to connect to a postgresql db in a PHP
script.
"Warning: pg_connect() [function.pg-connect]: Unable to connect to
PostgreSQL server: could not create socket: An address incompatible with the
requested protocol was used. (0x0000273F) . in c:\program files\apache
group\apache\htdocs\index.php on line 4"
I have checked a phpinfo() on the server and it show postgresql is
available, so I'ma little confused. Any help greatfully received!
Thanks,
Matt
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003