Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B53BC650ECD for ; Wed, 25 Jun 2008 08:12:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21684-05 for ; Wed, 25 Jun 2008 08:12:26 -0300 (ADT) X-Greylist: delayed 00:06:28.716062 by SQLgrey-1.7.6 Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by postgresql.org (Postfix) with SMTP id 4C6B1650EDD for ; Wed, 25 Jun 2008 08:12:30 -0300 (ADT) Received: (qmail 95648 invoked by uid 1002); 25 Jun 2008 11:05:36 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 25 Jun 2008 11:05:36 -0000 Received: (qmail 37276 invoked by uid 1001); 25 Jun 2008 11:05:33 -0000 Date: Wed, 25 Jun 2008 07:05:33 -0400 (EDT) From: Vince Vielhaber To: roche magsayo cc: Chris , pgsql-php@postgresql.org Subject: Re: Can't connect to postgresql using php In-Reply-To: <873a98c60806250237m7519ccdaid3ce993016aa9e55@mail.gmail.com> Message-ID: References: <873a98c60806242327v521393cen2d13ee196d9122d0@mail.gmail.com> <4861EBDB.5010401@gmail.com> <873a98c60806250237m7519ccdaid3ce993016aa9e55@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200806/11 X-Sequence-Number: 3858 On Wed, 25 Jun 2008, roche magsayo wrote: >> What error do you get? > This is the error i get: > =========================== > The website cannot display the page > HTTP 500 > Most likely causes: > The website is under maintenance. > The website has a programming error. > ========================== > >> Have you installed the php-pgsql.dll file and also edited the php.ini >> file to include it? > I've already installed it and edited the php.ini > [PHP_PGSQL] > extension=php_pgsql.dll > >> Have you restarted apache? > i've restarted many time, still i got those... > >> Does postgresql show up in a phpinfo() page? > phpinfo(), it's work. Does this mean there's a section in phpinfo() for postgresql? If it does, post the code you're using to connect. Vince. -- Michigan VHF Corp. http://www.nobucks.net/ http://www.CDupe.com/ Bringing the world a little coloser to your business