Re: Httpd2.0 / PHP / PostgreSQL - Mailing list pgsql-php

From Frank Bax
Subject Re: Httpd2.0 / PHP / PostgreSQL
Date
Msg-id 5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca
Whole thread Raw
In response to Httpd2.0 / PHP / PostgreSQL  (sharmad@softhome.net)
List pgsql-php
At 12:18 AM 12/10/02, sharmad@softhome.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.


pgsql-php by date:

Previous
From: sharmad@softhome.net
Date:
Subject: Httpd2.0 / PHP / PostgreSQL
Next
From: sharmad@softhome.net
Date:
Subject: Re: Httpd2.0 / PHP / PostgreSQL