Re: pg calls not working from within Apache

From: Justin Wyer <justin(at)isogo(dot)co(dot)za>
To: pgsql-php <pgsql-php(at)postgresql(dot)org>
Subject: Re: pg calls not working from within Apache
Date: 2004-08-05 07:47:07
Message-ID: 4111E5FB.7060303@isogo.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

bp1974(at)comcast(dot)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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Steve Bergman 2004-08-06 02:19:51 Status of "associative functions" in php-pgsql?
Previous Message Thom Dyson 2004-08-04 17:26:46 Re: pg calls not working from within Apache