X-Original-To: pgsql-php@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D19C8474E5C for ; Sat, 15 Feb 2003 00:41:52 -0500 (EST) Received: from web21108.mail.yahoo.com (web21108.mail.yahoo.com [216.136.227.110]) by postgresql.org (Postfix) with SMTP id 07C67474E42 for ; Sat, 15 Feb 2003 00:41:52 -0500 (EST) Message-ID: <20030215054157.66227.qmail@web21108.mail.yahoo.com> Received: from [210.14.14.208] by web21108.mail.yahoo.com via HTTP; Fri, 14 Feb 2003 21:41:57 PST Date: Fri, 14 Feb 2003 21:41:57 -0800 (PST) From: Raymond Chua Sing Subject: PHP and POSTGRES under windows To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/38 X-Sequence-Number: 1889 I have recently installed PHP and postgres(windows version by peerdirect) I accomplished linking the extension of postgres to php and made postgres to work with pgadminnII but I can't connect to the database using postgres functions this error always shows up on my page: "Unable to connect to PostgreSQL server: connectDBStart() -- socket() failed: errno=2 No such file or directory " and this code is what I use to connect to the DB "" I have been using postgres in the office using a linux server thats why I need postgres at home could you please help me thx. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com