Re: Can't connect to postgresql using php

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: roche magsayo <rtmsoft(at)gmail(dot)com>
Cc: Chris <dmagick(at)gmail(dot)com>, pgsql-php(at)postgresql(dot)org
Subject: Re: Can't connect to postgresql using php
Date: 2008-06-25 11:05:33
Message-ID: Pine.BSF.4.64.0806250703550.781@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Brew 2008-06-25 14:20:45 Re: WAPP - Can't connect to PostgreSQL using PHP
Previous Message roche magsayo 2008-06-25 09:37:25 Re: Can't connect to postgresql using php