From: | Frank Bax <fbax(at)sympatico(dot)ca> |
---|---|
To: | sharmad(at)softhome(dot)net, pgsql-php(at)postgresql(dot)org |
Subject: | Re: Httpd2.0 / PHP / PostgreSQL |
Date: | 2002-12-10 06:43:07 |
Message-ID: | 5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
At 12:18 AM 12/10/02, sharmad(at)softhome(dot)net wrote:
>Hi all,
> I have installed redhat8.0 on my system. When i made phpinfo.php file
> containing <? phpinfo(); ?> and ran the script it just doen't connect to
> the pgsql database although all servers are started (httpd and
> postgresql) and the php-pgsql rpm too is there.
> I can query the database at the command prompt but not from the
> brower. Can anyone tell me whats wrong
> This problem doesn't exist in redhat 7.1 or so
Have a closer look at your phpinfo output ... One of the first items
displayed is "Configure Command" - it contains a bunch of things like
--with-xx and/or --without-xxx
Does it say --with-pgsql or --without-pgsql - if "without", then php was
not compiled with support for postgresql.
From | Date | Subject | |
---|---|---|---|
Next Message | sharmad | 2002-12-10 07:27:20 | Re: Httpd2.0 / PHP / PostgreSQL |
Previous Message | sharmad | 2002-12-10 05:18:49 | Httpd2.0 / PHP / PostgreSQL |