pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Abhishek Goyal <abhishek.goyal@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Apache, Php and postgresql on windows
Date: Sat, 21 Jan 2006 00:26:32 +0530
Message-ID: <BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl> (raw)

Hello Everyone,

I have installed apache, php and postgresql on my system. Now i am calling 
pg_connect() function. If i run the php script through command line 
everything is working fine. But when i run the same script through apache 2, 
it gives me an error

Fatal error: Call to undefined function pg_connect()

It seems in apache, php isn't able to access php_pgsql.dll, Where as in 
command line execution it is able to.

What can be a possible fix for this.

-Abhishek

_________________________________________________________________
NRIs, Free Money Transfers to over 30 Million Visa Cards in India. 
http://creative.mediaturf.net/creatives/icicibank/MSN_VISA_TOL.htm




view thread (4+ messages)  latest in thread

Message-ID: <BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl>
Permalink:  ../BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl/
Also on:    postgresql.org/message-id/BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl

 · 

reply

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: abhishek.goyal@hotmail.com
  Subject: Re: Apache, Php and postgresql on windows
  In-Reply-To: <BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl>
  References: <BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl>

* 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