From: Justin Wyer <justin@isogo.co.za>
To: pgsql-php <pgsql-php@postgresql.org>
Subject: Re: pg calls not working from within Apache
Date: Thu, 05 Aug 2004 09:47:07 +0200
Message-ID: <4111E5FB.7060303@isogo.co.za> (raw)
In-Reply-To: <080420041716.1841.411119D500083B76000007312200750330CBC9C7CE9F0D@comcast.net>
References: <080420041716.1841.411119D500083B76000007312200750330CBC9C7CE9F0D@comcast.net>
bp1974@comcast.net wrote:
>Hi,
> I am trying to get a PostGresql <-->PHP<-->Apache working and am running to the well documented problem of :
>
>Fatal error: Call to undefined function: pg_connect() in /var/www/html/dbview.php on line 14
>
>
>
Call to undefined function, means the pgsql extension is infact not
there. Do you have multiple php's on this machine? Do you have a
misconfigured php.ini lying around in your root directory, that php will
read when its been run from apache. Remember php running from apache
will read configuration files that php running from CLI wouldn't.
cheers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: justin@isogo.co.za
Subject: Re: pg calls not working from within Apache
In-Reply-To: <4111E5FB.7060303@isogo.co.za>
References: <080420041716.1841.411119D500083B76000007312200750330CBC9C7CE9F0D@comcast.net> <4111E5FB.7060303@isogo.co.za>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox