Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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
> 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.

   Michigan VHF Corp.
            Bringing the world a little coloser to your business

In response to


pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group