X-Original-To: pgsql-php-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4D2429FA5FC for ; Tue, 27 Jun 2006 00:54:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 96548-02 for ; Tue, 27 Jun 2006 00:54:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by postgresql.org (Postfix) with ESMTP id 6D0B49FAC76 for ; Tue, 27 Jun 2006 00:54:23 -0300 (ADT) Received: by nz-out-0102.google.com with SMTP id l8so692049nzf for ; Mon, 26 Jun 2006 20:54:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LbnDpAECr2RjP41chJSV71Ft9sFl/B9V0blRQJNT7i1oa57scwoQKcZjapZyT+nUFtIv00Hw7nNvDkSJolIHZeuwbPpVCL6f4/OGpEQ+kGywmsVxeGKMTY2POl+DSBu33ZqfPMCoOTCXLFqbs44zrz4EFr+I0fazmQJPrXU73nU= Received: by 10.36.58.12 with SMTP id g12mr546685nza; Mon, 26 Jun 2006 20:54:20 -0700 (PDT) Received: from ?10.1.1.23? ( [203.217.18.65]) by mx.gmail.com with ESMTP id 24sm3969121nzn.2006.06.26.20.54.18; Mon, 26 Jun 2006 20:54:19 -0700 (PDT) Message-ID: <44A0ABE7.5070208@gmail.com> Date: Tue, 27 Jun 2006 13:54:15 +1000 From: Chris User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: arie nugraha CC: pgsql-php@postgresql.org Subject: Re: Cannot make connection to postgresql 7.4 on FreeBSD References: <449F464F.1070005@gmail.com> <44A0A8C9.5000103@gmail.com> In-Reply-To: <44A0A8C9.5000103@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/24 X-Sequence-Number: 3549 arie nugraha wrote: > Im currently using PHP 4.4.2 (compile it by myself, not by FreeBSD > ports), and then i compile the > pgsql dynamic library (pgsql.so) with phpize. > > I already saw that my postgresql support is already enabled in phpinfo(), > but i still can't connect it. Can you through the command line? psql -d ... That will at least tell us if it's a postgresql issue or a php issue. -- Postgresql & php tutorials http://www.designmagick.com/